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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now