R3vo 2654 Posted September 25, 2015 _unit addAction ["UAV Menu", "scripts\units\actions\UAV\init.sqf]; The mistake is in this line ;) Share this post Link to post Share on other sites
fn_Quiksilver 1636 Posted September 25, 2015 I'm guessing it's a locality issue. Which machine is the script being executed on? addAction only works on client machines. might be able to get away with something like this though. Focusing on the first one, try one of these lines: [_unit,['Commander Options','scripts\units\actions\commander\init.sqf']] remoteExec ['addAction',_unit,FALSE]; // or [_unit,'Commander Options','scripts\units\actions\commander\init.sqf'] remoteExec ['addAction',_unit,FALSE]; Am away from my battlestation and don't know which syntax is correct, one of them should work though. Share this post Link to post Share on other sites
schadler17 36 Posted September 25, 2015 The mistake is in this line ;) Lol I noticed it right when I posted. Is there a better way of making addAction command menus? Right now I've got each addAction removing the previous ones with removeAllActions, which isn't really bad the way I'm using it, but I'm sure there's another more efficient way of doing it. Share this post Link to post Share on other sites
R3vo 2654 Posted September 25, 2015 There is a addaction menu system right in this forum section, you could give that a try. Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted September 25, 2015 There is a addaction menu system right in this forum section, you could give that a try. Guess you're referring to Larrow's addAction menu system. Share this post Link to post Share on other sites
R3vo 2654 Posted September 25, 2015 Yes, that's the one. Share this post Link to post Share on other sites