Home   Help Search Login Register  

Author Topic: switchmove question  (Read 550 times)

0 Members and 1 Guest are viewing this topic.

cirkut5732

  • Guest
switchmove question
« on: 16 Jul 2005, 02:45:07 »

Im trying to use the "FXexecution" animation and the "FXCivilFoldOnesArms" animations and they work but they do not stay in this position for more than a second. Ive seen this posted before and i believe i just need a simple loop script. Can someone point me in the right direction?
Thanks Guys!

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:switchmove question
« Reply #1 on: 16 Jul 2005, 03:35:47 »
perhaps you should use playmove
same syntax as switchmove

or if you need a loop:

#loop
unit switchmove "FXexecution"
~1
?(some exit condition):exit
goto "loop"

Offline Blanco

  • Former Staff
  • ****
Search or search or search before you ask.

cirkut5732

  • Guest
Re:switchmove question
« Reply #3 on: 16 Jul 2005, 18:54:53 »
Well i couldnt get playMove to work with either of those animations in my sqs script, Im gonna try the loop in a bit and Ill post again

Thanks for the help Triggerhappy and Blanco!!!

Oh ya what should i use as a exit condition for the loop, I want the loon to be in the execution state until he gets shot so what should i use?
Thanks again
« Last Edit: 16 Jul 2005, 18:56:18 by cirkut5732 »

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:switchmove question
« Reply #4 on: 16 Jul 2005, 23:13:23 »
Code: [Select]
?not (alive loon): exit
if you want to completely exit the script, or

Code: [Select]
?alive loon : goto "loop"
if you need to do something after the loon croaks.