OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Binary on 09 Jul 2008, 22:19:07

Title: [SOLVED] If multiple triggers are true
Post by: Binary on 09 Jul 2008, 22:19:07
Hello :)

I'm currently doing a mission where one of the objectives requires clearing 3 areas of civilians.
For this i have 3 triggers with "Civilian not present".

What i need - is a way to execute a trigger ("3" objstatus "done") when these three triggers are done.

Cheers
Title: Re: If multiple triggers are true
Post by: ModestNovice on 09 Jul 2008, 22:24:40
Im a lil confused with what you are asking for?

how bout try this though?

in the trigger you want with obj3 status done do condition:
Code: [Select]
civ1clear && civ2clear && civ3clear

then in the first trigger, on activation, do:
Code: [Select]
civ1clear = true
second trigger:
Code: [Select]
civ2clear = true
third trigger:
Code: [Select]
civ3clear = true
Title: Re: If multiple triggers are true
Post by: Binary on 09 Jul 2008, 22:33:57
Just what i needed :)

Problem solved  :clap:
Title: Re: [SOLVED] If multiple triggers are true
Post by: ModestNovice on 10 Jul 2008, 09:25:18
Great  :)