rvg?! Posted June 10, 2016 Report Share Posted June 10, 2016 It clearly says: Syntax: unit addAction [title, script, arguments, priority, showWindow, hideOnUse, shortcut, condition,(optional arguments) positionInModel, radius, radiusView, showIn3D, available, textDefault, textToolTip] so what you need is: Syntax: unit addAction [title, script, arguments, priority, showWindow, hideOnUse, shortcut, condition] Why not follow the Bi info? The condition is nothing more than "WaitUntil". Syntax: unit addAction ["foo","[]execvm foobar.sqf/[]call foobar_fnc", "", 2, true, true, "", condition]; Now you just set the condition and define your coursortarget with "typeof cursortarget". Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now