Home   Help Search Login Register  

Author Topic: Changing a units side  (Read 483 times)

0 Members and 1 Guest are viewing this topic.

Sol Fire

  • Guest
Changing a units side
« on: 07 Apr 2003, 01:27:37 »
how would i use a trigger to get a list of units inside the trigger and use the list to change the unit's side to west?

i have a group of Civilian's but East wont shoot at them like they should so i need the civilians to change side to west

i could group them with a West Soldier but then i have to delete all their waypoints to group them and then i have a West Soldier somewhere he shouldnt be!

and after the attack i need the list so i can delete the Civilians

Sol Fire

  • Guest
Re:Changing a units side
« Reply #1 on: 07 Apr 2003, 05:01:12 »
ok i no longer need an answer on how to change the sides i just went into the Mission.sqm file and made the men West

but i still would like to know how to get a list of units inside a trigger so i can Deletevehicle them when they arnt needed without having to use every vehicle's name

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Changing a units side
« Reply #2 on: 07 Apr 2003, 16:52:45 »
The units which are in a trigg'er's area and would activate the trigger are given in the array thislist

If the trigger was West present then for a death zone you could have

"_x setdammage 1" forEach thislist

syntax not guaranteed but you get the idea.
Plenty of reviewed ArmA missions for you to play