OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Dieter122 on 27 Oct 2002, 18:44:13
-
What I wish to do is have 2 areas that have the activation of the lack of East forces in the area....once both are done (all enemies destroyed), a 3rd trigger would go off saying mission complete, yada yada, with music and all......i tried having 2 different triggers with the names "tri1" and "tri2" then the 3rd trigger be activated by "tri1";"tri2" but it didnt work.....does anyone know?
-
Put in the On Activation field of one of the triggers "tri1=true" And in the other: "tri2=true"
Now in the condition field of the third put "tri1 AND tri2"
-
i get the msg "error in type and object, bool= yada yada yada...when i go to preview the mission...whys it doing that ? =-/
-
someone PLEASEEEEE help me, i need this to finish my mission :(
-
first: make a gamelogic unit.
Then make a waypiont for gamelogic, make sure its a and waypoint. syncronize the triggers u got with this waypoint. make a 2. waypoint place it a bit from the 1., make a trigger that u group with the gamelogic. and set the trigger on present and then mission complete.
Sorry for bad english :)
-
you just totally confused me past where i was before, sorry, but thanks for the reply :-\
-
the two triggers u got, u sync them with a gamelogic. when those triggers are activated. gamelogic moves to his nextwaypoint, and there u got a new trigger when gamelogic present mission end. :-\
-
Here u got a sample mission :)
-
SeAnVer gave you a really good simple answere. Here it is in the form of a sample mission. First do radio alpha to fire the first trigger, then do radio bravo to fire the second trigger and 5 seconds later the third trigger will fire.
-
just put "v1=true" in the On-Activation field of the first trigger and put "v2=true" in the same field on the other trigger (no speech marks).
the third trigger should be an end trigger (End#1 for example) and put this in its condition field put "v1 and v2" (again no speech marks). That definately works (i use stuff like that all the time in my missions, just more complicated).