iNeo 0 Posted March 2, 2003 If you add an action to a unit, you got to get about 3 meters close to it to be able to use it. It's the same when the action is added to a player. I'd like only the player the action is added to, to be able to use the action, no matter how close anyone else comes. Is there a way? Share this post Link to post Share on other sites
Bart.Jan 0 Posted March 2, 2003 No, but you can use : </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> ?(_this select 0) != (_this select 1):exit <span id='postcolor'> as first line of action script. Script ends when action is not used by its owner. Share this post Link to post Share on other sites
kegetys 2 Posted March 2, 2003 you need to check if the current player is the guy your are adding the action to, for example if you are doing: dude1 addaction["suicide","suicide.sqs"] do this instead: ? player == dude1 : dude1 addaction["suicide","suicide.sqs"] Share this post Link to post Share on other sites
jeppelykke 0 Posted March 3, 2003 Hehe, i have a question about this addAction thingy! When i add a "addaction" to my soldider the action is in the top of the list, is it possible to have it as the very last in the list in the "action menu" Share this post Link to post Share on other sites
iNeo 0 Posted March 3, 2003 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (jeppelykke @ Mar. 03 2003,09:53)</td></tr><tr><td id="QUOTE">Hehe, i have a question about this addAction thingy! Â When i add a "addaction" to my soldider the action is in the top of the list, is it possible to have it as the very last in the list in the "action menu"<span id='postcolor'> Nope, not as far as I know. I believe all custom addAction's are placed on top. Share this post Link to post Share on other sites