Home   Help Search Login Register  

Author Topic: Action for units in a triger  (Read 456 times)

0 Members and 2 Guests are viewing this topic.

Sloma

  • Guest
Action for units in a triger
« on: 10 Apr 2003, 11:15:27 »
OK, here is my situation:
I have a triger that detects west units. I want to change combatmode only for resistance units under this triger on its activation.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Action for units in a triger
« Reply #1 on: 10 Apr 2003, 11:24:18 »
You could get the trigger to call a wee script that changes the combatmode of the Resistance units.   However, I'm guessing that the Resistance units are guarding something and you want them to go to aware/combat when West is detected.    

If that (or something similar) is the case, then the best thing to do is create new waypoints for the guards.    In the new waypoints change their behaviour to Aware.    Synchro the old, final waypoint with the trigger.    Make the trigger type switch

Your guards' waypoints look something like this

MOVE   (safe)
MOVE
CYCLE  <----- synchro the switch trigger with this WP
SEEK+DESTROY  (aware)
CYCLE

Hope that helps
Plenty of reviewed ArmA missions for you to play

Sloma

  • Guest
Re:Action for units in a triger
« Reply #2 on: 10 Apr 2003, 11:33:49 »
Ok, that is right, I should have been more precise.
What i meant was, how to do the same for sentries (witout waypoints)?
or How to pass into a script only resistance units from that triger?
« Last Edit: 10 Apr 2003, 11:36:45 by Sloma »

Flapje

  • Guest
Re:Action for units in a triger
« Reply #3 on: 10 Apr 2003, 20:49:11 »
you could name the res soldiers and put in the init field: dude setbehaviour "lala"; dude2 setbehaviour "lala" etc.

there probably is an easier way 8)