Created
June 21, 2018 22:27
-
-
Save headswe/6487f433275c036b0c73b76a1500b88f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_action = ["HEAD_PLACEFLAG","Place Flag","", | |
{ | |
_pos = screenToWorld [0.5, 0.5]; | |
if(player distance2d _pos > 1) exitWith {}; | |
_flag = "classname" createVehicle _pos; | |
_flag setDir (_flag getDir player); | |
}, | |
{ | |
true | |
}, | |
] call ace_interact_menu_fnc_createAction; | |
[ | |
player, | |
1, | |
["ACE_SelfActions", "ACE_Equipment"], | |
_action | |
] call ace_interact_menu_fnc_addActionToObject; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment