OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: G-36 on 14 Jul 2004, 12:18:54
-
1) How I activate a trigger with a waypoint?
I want to end the mission but I want that the trigger will only End the
mission, so i want to activate the trigger from the waypoint.
or how I end the mission from a script "end.sqs"?
2) I don't know so much how to write scripts but I need a script that will change the
hour and the date in the game, I want that the date and the time will be the Real
date and time like in the computer?
I hope you understand meâ€Â¦ my English is badâ€Â¦ ???
Thanks to the helpers!
-
Hi there!
1.) a.) In the triggers condition field write for example "endmission"
b.) In the waypoints "on activation" field write "endmission = true"
This means, that when you enter at the waypoint that is supposed to end your mission, it will put "endmission" to active, so your trigger will notice this, and the trigger will become active and ends your mission.
Is this what you where looking for?
-
I forgot to answer for the second question.
What you mean, that you want the hours and daytime to be "real"?
The time and daytime goes as real on OFP, or did you mean that the time in OFP would allways be the very same time as you in the real world? Example : clock around here is 14.35, it is 14.7.2004 and you wan't, that this, the real time would allways be on OFP as well?
-
Do not use a player waypoint to end the mission. Players in Veteran mode will not know it is there. Or they may have missed an earlier waypoint.
-
Thats right, you should only use waypoints for AI units and none for player
Good that someone remembered it ;D!
-
ok i did it!
now, there is any script that make the time in the mission like the time in the computer?
;D
-
Not that i know of...
why you want you OFP mission times to be the same as your computers? I don't get it :D
Why don't you just use the time and weather condition change bar in mission editor?
-
well because...
i want it! ;D