Jump to content
Sign in to follow this  
Prospero

Determining if your soldier is prone.

Recommended Posts

Determining if your soldier is prone: - I've only got very inelegant ways to do this - well, I spose everything is relative.

Anyone got a simple way? (And no, there is no such function as getUnitPos, and the fact that a man goes to "combat" mode when he goes prone doesn't help because it takes about 8 seconds for his mode to change back after standing up again).

Prospero

Share this post


Link to post
Share on other sites

Hmmm this is really annoying me. From my previous post, you can see how to determine when the player has dropped to the floor (gone prone), but not when he stands up again - or at least not IMMEDIATELY - which is what I need.

Even with my thinking cap firmly on, I cannot for the life of me think of a way to do this simply. Basically, I'm trying to identify some script-accessible state that changes / is affected when a man stands up... there must be one...

Prospero

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  

×