Jump to content
Sign in to follow this  

Recommended Posts

How do I make a unit fire from the standing position when in a watchtower?

Whenever they come under attack they go prone which looks a bit stupid with arms & legs sticking out the side of the weatchtower!

Share this post


Link to post
Share on other sites

http://www.armaholic.com/page.php?id=1801

Make the unit keep standing:

Code:

this setunitpos "up"

----------------------------------------------------------

Make the unit crouch:

Code:

this setunitpos "middle"

----------------------------------------------------------

Make the unit keep proning:

Code:

this setunitpos "down"

----------------------------------------------------------

Make a unit stand still:

Code:

dostop this

or

Code:

this disableAI "MOVE"

Share this post


Link to post
Share on other sites

For area effect for all units, make a trigger that covers the area where the units are, choose the side that need to be in the desired position (BLUEFOR/OPFOR/INDEPENDEND/CIVILIAN) -> once -> "condition" = true ->

"on act" write

{_x SetUnitPos "POSITIONHERE"} foreach thislist

POSITIONHERE = UP, MIDDLE, DOWN

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  

×