OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: BHD Mod on 20 May 2004, 00:50:09

Title: Making mission end with objectives
Post by: BHD Mod on 20 May 2004, 00:50:09
How do i make a mission end when all three of my objectives are completed?         thanks
Title: Re:Making mission end with objectives
Post by: dmakatra on 20 May 2004, 09:50:47
At the same time when you set the first obj to done, put this in the same trigger/script:

objboolean1 = true

and next obj's trigger/script:

objboolean2 = true

and, suprisingly, in the 3rds trigger/script:

objboolean3 = true

And in your end triggers cond field:

objboolean1 and objboolean2 and objboolean3

:beat: *Gets Shot* :beat: