Home   Help Search Login Register  

Author Topic: Group switch/playmove  (Read 581 times)

0 Members and 1 Guest are viewing this topic.

mt1202

  • Guest
Group switch/playmove
« on: 09 Dec 2002, 01:33:13 »
hi all ;)

iÂ'm looking for away make a group to do a playmove "surrendering" when they recieve a certain amount of casulties.

hope u can help me out.

take care.

to make something good, from something bad is hard.
but to make something bad, from something good is easy.

mt1202

  • Guest
Re:Group switch/playmove
« Reply #1 on: 09 Dec 2002, 23:58:51 »
**bump**

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Group switch/playmove
« Reply #2 on: 10 Dec 2002, 22:17:28 »
Hey there, mt1202

If you ever need to use a 'unit' command on a group, try using it in the foreach syntax. eg:

"_x switchmove ""fxstandsuruniv""" foreach units group

Just note the number of ", that's not a typo (I checked it 3 times ;D)

If you put that in the activation line of a trigger, it will make all the guys in group stand with their hands behind their head. However they will stay there no matter what. Even if you shoot them!

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Group switch/playmove
« Reply #3 on: 11 Dec 2002, 00:22:17 »
well, to sort that out, just make a trigger to detect when the units are killed and on activation use:

unitname switchmove "fxstandsurunivend"

thats what i do.
Proud Member of the Volunteer Commando Battalion