kocrachon 2 Posted August 18, 2008 So I am using the RC BE32k mod and the aircraft has an option called "EJECT CARGO". And I was wondering if there is a way to make it work with the AI? I tried the action command like this. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Plane1 action ["EJECT CARGO", vehicle Plane1] But that of course it doesnt work.. so is there any tips on how to make this work, or will the AI not be able to do it at all? Share this post Link to post Share on other sites
dachevs 1 Posted August 18, 2008 try: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> {_x action ["eject", vehicle _x} foreach crew plane1; Share this post Link to post Share on other sites
nuxil 2 Posted August 18, 2008 if you dont want the driver|gunner to eject <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> {if not((_x == driver vehicle _x) or (_x == gunner vehicle _x)) Â then {_x action ["eject", vehicle _x};} foreach crew plane1; Share this post Link to post Share on other sites
kocrachon 2 Posted August 18, 2008 thanks, but the only reason I ask this s because the "eject cargo" option that the custom aircraf thas makes it where it drops the guys out one by one instead of launching them all out in a big circle. Share this post Link to post Share on other sites