-
Notifications
You must be signed in to change notification settings - Fork 6
Functions
Amaury edited this page Feb 16, 2018
·
2 revisions
You can use this function to add an option to the quicknav menu , the code will be executed when the user press the quicknav_execute button
(STRING) _this select 0 : _text
(CODE,STRING) _this select 1 : _code
["Say Hello",{hintSilent "Hello"}] call gps_menu_fnc_addQuickNavOption;
This will make the gps compute a path from A to B
(POSITION3D,OBJECT) _this select 0 : _position
(POSITION3D) _this select 1 : _startPos (player's position by default)
[getMarkerPos "marker_kavala",getPosATL player] call gps_fnc_main;