OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Insanoblan on 07 May 2004, 23:02:40
-
Hey all. I have 3 triggers named obj1 obj2 and obj3. How can I make it so that the condition for the fourth trigger (hereafter refered to as end1) has the condition that Obj1, Obj2, and Obj3 all have been activated?
Thanks!
Insanoblan
-
Are the triggers "named" or are those the conditions ?
If they're conditions, then your end trigger would be-
obj1 && obj2 && obj3
-
those are the trigger names
-
Condition : Obj1 and Obj2 and Obj3 (or Obj1 = true and Obj2 = true and Obj3 = true). I'm not sure. Sorry :-\.
NOTE : the game seems to ignore "name" in triggers, and to "use" "text".
-
The engine does not ignore triggers name.
It's exactly the same as naming an unit of some sort.
If you name a trigger you can also deleteVehicle it if you wish...
The text part is just for the editor to keep track of which trigger does what...
BUT in this particular case you do not need the triggers to be named (actually it's quite rare to need them to be named).
What you need to do is to have the three triggers to be activated by something and have in the 'on Activation' field obj1 = true and so on, then use the end trigger as described in the above posts by having in it's 'condition' field the obj1 && obj2 && obj3...
No guarantees as usual... :P
-
Alright awesome! That worked well man, thanks for the help
PROBLEM s-s-s-s-s-SOLVED :toocool: