Jump to content
Sign in to follow this  
Rigel

How to script a unit to never lie down or crouch?

Recommended Posts

Suppose you want to place a sniper in a building. You want him to stay still, shooting whichever target he sees out the window. But the AI has this habit of lying flat on the ground when its being spooked or shot at

so how do you tell the sniper to ALWAYS stay still and to never crouch or lie down or move around aimlessly? :j:

Share this post


Link to post
Share on other sites

mySniper setunitpos "up" => this will keep the unit standing

mySniper disableAI "move" => this will keep it from moving

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  

×