Home   Help Search Login Register  

Author Topic: Trigger....  (Read 626 times)

0 Members and 1 Guest are viewing this topic.

BrAinOfJ

  • Guest
Trigger....
« on: 07 May 2003, 17:49:18 »
I have a condition i need to be met in a mission. The objective is a village must be taken. The mission runs smoothly, BUT, i have added a "end" trigger that activates when there is "east not present", so its possible for a player not to be in the village when all the eastern soldiers are dead, and therefore the village isnt really "taken". Now, im about to go and try adding another trigger that is smaller, and activated when "west=present" and syncronising it to the "east not present" trigger. Will that mean that both conditions have to be met for the trigger to activate?

SimonRussi

  • Guest
Re:Trigger....
« Reply #1 on: 07 May 2003, 17:57:22 »
create 2 triggers as you said. in the onAct fields put:

eastDead=true and WestPresent=true

then create the End trigger and in the condition field put

eastDead && WestPresent

this will sure work

simon

BrAinOfJ

  • Guest
Re:Trigger....
« Reply #2 on: 07 May 2003, 18:07:14 »
Thanks again :)

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Trigger....
« Reply #3 on: 07 May 2003, 21:21:28 »

  :hmm: Whatcha need is ONE trigger, m8  :o  :D

 Hence this :


I have a condition .... The objective is a village must be taken.

... i have added a "end" trigger that activates when there is "east not present"...


==================

SO, as I get this, YOU wanna win the mission when the town has been captured ?!

(you there & east dead, right)  ??? :)


Well, if that's the case, simply create ONE trigger, and make it look a bit like this, matey  :-*

***********************************************************

Axis   a & b   =  340 / 340    ( - or whatever it takes to cover the town.)

Activated by VEHICLE   (read info below)

Condition Field = This && EAST countside ThisList < 1 :thumbsup:

***********************************************************


See, just hit the F2 button and drag a grouping line from trigger to YOU (player).
 :) That's what will make the trigger get activated by YOU and only you
(or select "whole group" from the trigger menu if ya like.)

...and the code in the condition field will make sure that it won't fire even if you're inside the radius unless all eastern units are dead/out of radius AND (&&) you are ÍNside the trigger.  8)

Just be sure to blow up all enemy tanks, as "0.999 %  damaged" tanks will be counted as "ALIVE" units  ::)