Results 1 to 4 of 4

Thread: How do i stop ai units from going prone?

  1. #1
    I've been making a mission where AI soldiers stand inside buldings, pointing their weapons outside the windows. Unfortunately they go prone as soon as they spot the enemy.

    Is there a simple way I can stop this from happening?

  2. #2
    Master Sergeant Canukausiuka's Avatar
    Join Date
    Jan 24 2002
    Location
    Huntsville, AL, USA
    Posts
    790
    to get a single soldier to stand up, in his init line just type:
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setUnitPos &#34;UP&#34;;[/QUOTE]
    to get a whole group to stand up, it&#39;s easiest to just go to the leader and type:
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_x setUnitPos &#34;UP&#34;;} forEach units group this;[/QUOTE]

    and if you ever want them to stay down, change "UP" to "DOWN"
    and to get the AI to decide on their own (like normal), change it to "AUTO"

    Formerly MSMS_KDXer (signed up January 2002)

  3. #3
    i do i get them to kneel down and stay there ?

  4. #4
    Quote Originally Posted by (russin @ July 31 2003,08:13)
    i do i get them to kneel down and stay there ?
    u mean cruched? http://www.flashpoint1985.com/cgi-bin....l=prone

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •