NEO -PZ- 0 Posted May 24, 2002 Hey, How do you make an AI to change from for exampel AK74 to RPG launcher (if he already has the launcher on his back that is)? Maybe it's enough with just: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">Eunit1 doFire Wm113<span id='postcolor'> If I do like the code sample only, will he change to RPG launcher, or will he fire AK74 bullets at the M113? And blah blah. Thanks in advance  Neo Share this post Link to post Share on other sites
LordZach 0 Posted May 24, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">Eunit1 dotarget Wm113;Eunit1 doFire Wm113<span id='postcolor'> just to be safe, should work. if he ignores the thing, take his AK away Share this post Link to post Share on other sites
NEO -PZ- 0 Posted May 24, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (LordZach @ May 24 2002,15:52)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">Eunit1 dotarget Wm113;Eunit1 doFire Wm113<span id='postcolor'> just to be safe, should work.  if he ignores the thing, take his AK away <span id='postcolor'> Actually that is pretty smart. </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">Eunit1 removeweapon AK74; Eunit1 doTarget Wm113; Eunit1 doFire Wm113<span id='postcolor'> And trigger for the Wm113 not alive thing, in On Activation field: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">Eunit1 addweapon AK74<span id='postcolor'> Is there a noTarget command by the way? Checking comref... Can't find anything. Well, if he gets the Wm113 he won't have a target left. Thanks  Share this post Link to post Share on other sites