jubbie 0 Posted March 1, 2006 Hullo I've got a mission with a guy talking who, once the player comes close to him, I want to have run away. I've got a script that controls the animation (FXStandTalk) and a hold waypoint synced to a trigger that switches when the player is nearby. What's happening is that the talking guy turns to run away but remains locked in his animation loop, so he doesn't actually go anywhere. How do I get him out of it? The script: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> #begin ~0.1 ?(player distance guy)<10: goto "exit" ?(getdammage guy)>0.5:exit guy switchmove "FXstandTalk" ~1 goto "begin" #exit guy switchmove "stand" exit Share this post Link to post Share on other sites
Garcia 0 Posted March 1, 2006 use <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">guy switchmove "" I think that will quit the animation he is playing so he can run. Not sure though, long time since I've used switchmove Share this post Link to post Share on other sites
pazuzu 21 Posted March 2, 2006 guy switchmove "null" Share this post Link to post Share on other sites