Home   Help Search Login Register  

Author Topic: Trigger question  (Read 583 times)

0 Members and 1 Guest are viewing this topic.

Offline Tim Pink

  • ECP Team &
  • Former Staff
  • ****
  • "Down with a bang and that'll be the end"
Trigger question
« on: 17 May 2003, 13:51:36 »
Hi again

Umm......just a little trigger question.
is it possible to have a trigger that only activates after you a certain amount of people or objectives are destroyed?
and how would you configure it to do that?

how do you get the extract waypoint ot appear after that trigger is activated if the unit has no waypoints b4 and has been wandering around by at its own free leisure?

how do u a get a trigger to detect if someone is dead and then activate ?
"Whoever said nothing is impossible, never tried slamming a revolving door."

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Trigger question
« Reply #1 on: 17 May 2003, 16:34:16 »

Hey pinky  ;) listen up, m8  :-*

#1
"a trigger that only activates after you a certain amount of people or objectives are destroyed" :

Condition field of trigger should read :

  !alive bob && !alive rob ...etc

Just name yer units in their NAME fields when ya create 'em.
( the " ! "  means "not", and the   "&&"  means  "and")  :)


#2
...waypoint (should) appear after that trigger is activated " :

well, try & hit the F5 button and drag a syncro-line between unit's WP and the trigger itself.
If you (I guess theunits is player) have no waypoints, just make ONE and put it right next to yer start pos. Then synch it like I said w/ the trigger  8)

So when the trigger fires, yer NEXT waypoint will pop up, as the first one was completed right from start of mission - it just waits for that trigger to fire.
You can make the WP a "HOLD" type and write whatever in the "Description" field.
(that is the text that will pop up on screen, describing the waypoints "meaning" to the player.)


#3
how do u a get a trigger to detect if someone is dead and then activate ?


well, bob, you already have that one! Read reply #1  :-* ;D




Ace

  • Guest
Re:Trigger question
« Reply #2 on: 17 May 2003, 19:41:17 »
simpler syntaxs :

Quote
is it possible to have a trigger that only activates after you a certain amount of people or objectives are destroyed?
and how would you configure it to do that?

in the condition box write : not alive bob

and to check if a group of people are dead:

not alive bob and not alive bill and not alive jim

Make sure to make good use of the And, Or commands when scripting.

Quote
how do you get the extract waypoint ot appear after that trigger is activated if the unit has no waypoints b4 and has been wandering around by at its own free leisure?

Create a trigger again and in the condition box write whatever you want the trigger to be activitated by (so it could be if bob dies, or when all east not present, bla.)

and in the ONactiv. box write bob move getmarkerpos "bobs_extract_point"

what this does is create a WP from scratch at the position of the marker called bobs_extraction_point.

make sure you create a marker called bobs_extraction_point to make it work.