Jump to content
Sign in to follow this  
Kydoimos

setUnitPos Not Working?

Recommended Posts

Is it me, or is this broken now? I can't get units to hold their position, as soon as they open fire, they ignore the setUnitPos... any ideas?

Share this post


Link to post
Share on other sites

Because FSM scripts kick in when they see enemies. The AI will start to move around, take different positions, cover, etc. Try out disableAI "FSM".

Share this post


Link to post
Share on other sites

Hi mate, I'm sure I've tried that, but I'll try again! Thanks,

Share this post


Link to post
Share on other sites

About the only solution I could come up with on the fly. SetUnitPos is generally best used for static units that you don't expect to hit contacts with though, since, just like other AI commands like lightson, they are overwritten by AI behaviour scripts.

Share this post


Link to post
Share on other sites

Hi tryteyker, I've just tried disableAI "FSM" command but didn't have any luck. Thanks for the suggestion though.

Share this post


Link to post
Share on other sites

Hi, cl-claw, thanks for the suggestion, but no help, sorry! That's fine for stopping units and keeping them in place, however.

Share this post


Link to post
Share on other sites

Ah, ok - I guess BIS are aware of it? If not, I'll create a ticket! Thanks for letting us know,

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  

×