Skip to content

Functions

Amaury edited this page Feb 16, 2018 · 2 revisions

gps_menu_fnc_addQuickNavOption

Description :

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

Arguments

(STRING) _this select 0 : _text

(CODE,STRING) _this select 1 : _code

Example

["Say Hello",{hintSilent "Hello"}] call gps_menu_fnc_addQuickNavOption;

gps_fnc_main

Description :

This will make the gps compute a path from A to B

Arguments

(POSITION3D,OBJECT) _this select 0 : _position

(POSITION3D) _this select 1 : _startPos (player's position by default)

Example

[getMarkerPos "marker_kavala",getPosATL player] call gps_fnc_main;
Clone this wiki locally