Jump to content
Sign in to follow this  
TheJokerMan

unit behavior and stance

Recommended Posts

sad_o.gif hi, i just spent an hour searching -yuck - but found some pretty cool stuff along the way, but not what i was looking for. im trying to figure out how to make 1 AI soldier named en13 stand in the danger mode. as you may know when ai is ordered to stand up and ordered to danger they will stand and aim their gun in the direction they are looking. this is what im trying to accomplish

so like how do i change BEHAVIOR and STANCE?

goodnight.gif

Share this post


Link to post
Share on other sites

You gotta be kidding, how the hell did you not find one of the million+1 stance threads? A new one is created at least once every 2 weeks.

en13 setBehaviour "COMBAT"; en13 setUnitPos "UP"

Share this post


Link to post
Share on other sites

yea i typed STANCE in a search and got everything but stance as a result, and a ton of posts that didnt even have the word stance in them. soooooo i dunno huh.gif

but thanks for the info!

Share this post


Link to post
Share on other sites

hey heres a question off that topic, if i was going to put in

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">en13 setBehaviour "COMBAT"; en13 setUnitPos "UP"

where should i put it to decrease the lag/pc usage as much as posible? i mean would it work better in the init.sqs file or in the actual units init line?

Share this post


Link to post
Share on other sites

doesn't matter, though to make the init.sqs look less messy you could put it in the units init field. Though, when doing it, you could also replace the units name with 'this'. Though, if the unit got to have a name anyway, I guess it doesn't matter tounge2.gif

Share this post


Link to post
Share on other sites

hey thank alto for info! but now how do i make AI crouch?

this setBehaviour "COMBAT"; this setUnitPos "HALF";

well that doesnt work, anyone 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  

×