Jump to content
Sign in to follow this  
zippers

Stopping people lying down

Recommended Posts

Is there any way to stop civilians or soldiers lying down? Its pretty annoying when battles involve people lying being sandbags :rolleyes: and not shooting.

thanks

Share this post


Link to post
Share on other sites

Just put one of the first two in the units init line or waypoint and the third is to let them go back to deciding for themselves.

Name setUnitPos "Middle" - Unit is kneeling

Name setUnitPos "Kneel" - Unit is kneeling

Name setUnitPos "Auto" - Unit decides for itself

Share this post


Link to post
Share on other sites

I'm having a problem with this at the moment. I have two policemen and a civilian standing next to a car. Even though I put:

this setUnitPos "up":

in their initialization field, they still randomly decides to lie down. The only way I have managed to gaurantee they don't go prone when I approach is to put:

this disableAi "anim";

in their initialization field, which is a bit drastic and looks crap (and complicates adding animations).

Any ideas?

Share this post


Link to post
Share on other sites

this is just a heads up as i have had the same prob in a mission i wrote

and i could not find an answer.......

i found that the game sets the combatmode and over rides the scripts so if you tell them to be safe and the game says different , sorry the game will always win...

im still playing with FSM scripting and i find it has more control over there behaviour "that may help"

mind you my mission was in arma1

my prob was every time a plane few over head they hit the ground and took forever to get to where they were going.

so i would suggest trying to write the script using FSM if you cant do that i will try for you...

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  

×