Home   Help Search Login Register  

Author Topic: domove getpos script question  (Read 726 times)

0 Members and 1 Guest are viewing this topic.

cirkut5732

  • Guest
domove getpos script question
« on: 03 Nov 2005, 01:21:36 »
Hey Guys Im back

Another problem that I need help with so here it goes...
I have a civilian hostage loon, he launches a script from his init field with this in it

hostage switchmove "FXexecution"
~1.8
hostage playmove "FXexecutiondead

(puts him on knees with hands above head, by the way the second switchmove command here does not kill the loon just prevents him from standing back up after 1.8 seconds, little trick you guys taught me!)


Now in a trigger that the player only can activate sets off this script

hostage switchmove "FXfromkneel"
~10
hostage domove getpos dest


(basically loon stands up and runs to the destinaton)

Now the loon gets on knees like told, when the player activates the trigger he then stands up but refuses to run to the destination. Now i deleted the switchmoves and he then runs to the game logic destination just fine so the switchmove commands are obviously tinkering with the loon but I do not know of a solution

Any suggestions?
Thanks



« Last Edit: 03 Nov 2005, 01:23:02 by CirKuT »

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re:domove getpos script question
« Reply #1 on: 03 Nov 2005, 02:48:53 »
hostage switchmove "null"

Then use doMove
« Last Edit: 03 Nov 2005, 02:50:26 by Mr.Peanut »
urp!

cirkut5732

  • Guest
Re:domove getpos script question
« Reply #2 on: 03 Nov 2005, 03:03:55 »
Thank you!

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re:domove getpos script question
« Reply #3 on: 03 Nov 2005, 18:00:13 »
Now click "Solve" if you please!
urp!