Home   Help Search Login Register  

Author Topic: switchmove probby...  (Read 472 times)

0 Members and 1 Guest are viewing this topic.

Captain Winters

  • Guest
switchmove probby...
« on: 26 Jul 2003, 20:21:46 »
_unit = _this select 0

#loop
_unit switchmove "EffectStandTalk"
goto "loop"


that's a little script i whipped up to make it look like a unit is talking for a long time, but when the unit dies he continues to play the animation... How can i make it to where the animation stops after he dies?

Tanks! 8)

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:switchmove probby...
« Reply #1 on: 26 Jul 2003, 20:25:14 »
hey man wuzup ?

its simple Q :P watup w/ ur scriptin skilz ? :P

_unit = _this select 0

#loop
_unit switchmove "EffectStandTalk"
? not alive _unit : _unit playmove "null"; _unit switchmove "null"; exit
goto "loop"

::)

LCD OUT

"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Captain Winters

  • Guest
Re:switchmove probby...
« Reply #2 on: 26 Jul 2003, 20:37:22 »
Nothin really, I had the script just like you had it down there, but i dint know what animation 2 play  :P
Thanks for the help man

Tanks! 8)