Jump to content
Sign in to follow this  
Holden93

setDir not working?

Recommended Posts

Hello there,

I noticed that setDir isn't working at all for me, the small code is this

_unit setDir 90;

nothing happens though, why that?

Share this post


Link to post
Share on other sites

Can you post a bit more please?

Dirty Haz

Share this post


Link to post
Share on other sites

uhm I just noticed it DOES work but the AI gets back on his original direction.

Any other ways to do this?

Share this post


Link to post
Share on other sites

Hmmm... Maybe:

doStop _unit;

Or:

while {alive _unit} do {_unit setDir 90;};

Dirty Haz

Share this post


Link to post
Share on other sites

unit setformdir 90;

or give them something to watch

unit dowatch object;

Share this post


Link to post
Share on other sites

try

disableAI "ANIM"

after the setdir command this command solve many anim/move issues ,

dont forget to enable back with enableAI

Edited by dragonsyr

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×