OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: FleX on 03 Jul 2003, 16:34:26

Title: Trigger activate after......
Post by: FleX on 03 Jul 2003, 16:34:26
I don't know how to activate trigger_1 after trigger_2 has been activated. Maybe this question has been asked before but i did'nt find it. Thanks for you're help  :)
Title: Re:Trigger activate after......
Post by: Komuna on 03 Jul 2003, 18:14:02
:hmm: All you need is satisfying a certain condition at trigger_1 through the ActivField of trigger_2:

--------------------------------------
trigger_2

ActivField: variable1="hello"
--------------------------------------
trigger_1

CondField: variable1=="hello"
--------------------------------------

OR

---------------------------------
trigger_2

ActivField: variable1=true
---------------------------------
trigger_1

CondField: variable1
---------------------------------
Title: Re:Trigger activate after......
Post by: FleX on 03 Jul 2003, 19:11:16
Thanks for you're help  :hmm:
Title: Re:Trigger activate after......
Post by: FleX on 03 Jul 2003, 19:37:34
Hmmm this is not what i was looking for  :-\. I meant that trigger_1 becomes active after trigger_2 is activated. Sorry for my misunderstanding  :-[
Title: Re:Trigger activate after......
Post by: Komuna on 03 Jul 2003, 20:21:42
Oh! I see... Excuse me.. my english is quite bad.

Anyway, the process is similar:

U can add trigger_1's CondField the conditions I proposed, plus another one, such as this (which is related with the trigger configuration) or anyother. See, though the first condition is satisfied (variables1=true) the others won't and the trigger won't be called either. So, it remais active.

example:

trigger_2
ActivField: var1=true


trigger_1
CondField: var1 and this and othervariable
Title: Re:Trigger activate after......
Post by: FleX on 04 Jul 2003, 10:11:38
No its not yoúr english its my english :). But again thanks for your time.