OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Knut Erik on 06 Feb 2003, 12:52:25
-
I have this mission with a lot of objectives, but I dont want the mission to end before all the objectives is complete.
How do I do?
:P :'( >:(
-
trigger:
type: end #1
conditions: obj_1_complete && obj_2_complete && obj_3_complete && obj_4_complete
create a text file called "init.sqs":
in it put this:obj_1_complete = false
obj_2_complete = false
obj_3_complete = false
obj_4_complete = false
and every time an objective is detected as completed (however you choose to do this :) ) set the related variable to true...
-
Ah! You're a smart fellow! Thanks a lot mate!
;D :D ;D :D ;D ;) :)