Home   Help Search Login Register  

Author Topic: [SOLVED] If multiple triggers are true  (Read 1196 times)

0 Members and 1 Guest are viewing this topic.

Offline Binary

  • Members
  • *
[SOLVED] If multiple triggers are true
« 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
« Last Edit: 09 Jul 2008, 22:34:36 by Binary »
"Ah.. Home sweet hell !" - Al Bundy

Offline ModestNovice

  • Members
  • *
Re: If multiple triggers are true
« Reply #1 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
« Last Edit: 09 Jul 2008, 22:27:53 by DaChevs »
"The road became empty and the people disappeared. The clouds ran away; opened up the sky, and one by one I watched every constellation die."
- Sean "Slug" Daley

Offline Binary

  • Members
  • *
Re: If multiple triggers are true
« Reply #2 on: 09 Jul 2008, 22:33:57 »
Just what i needed :)

Problem solved  :clap:
"Ah.. Home sweet hell !" - Al Bundy

Offline ModestNovice

  • Members
  • *
Re: [SOLVED] If multiple triggers are true
« Reply #3 on: 10 Jul 2008, 09:25:18 »
Great  :)
"The road became empty and the people disappeared. The clouds ran away; opened up the sky, and one by one I watched every constellation die."
- Sean "Slug" Daley