OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Knut Erik on 06 Feb 2003, 12:52:25

Title: Briefing help
Post 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 :'( >:(
Title: Re:Briefing help
Post by: Liquid_Silence on 06 Feb 2003, 14:56:56
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:
Code: [Select]
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...
Title: Re:Briefing help
Post by: Knut Erik on 06 Feb 2003, 14:58:47
Ah! You're a smart fellow! Thanks a lot mate!

 ;D  :D ;D :D ;D ;) :)