BIS fnc customGPS: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
m (Text replacement - " |s1=[" to " |s1= [")
 
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>


|s1=[path, ''deltaX'', ''deltaY''] call [[BIS_fnc_customGPS]]
|s1= [path, ''deltaX'', ''deltaY''] call [[BIS_fnc_customGPS]]


|p1= path: [[String]] - full path to image file
|p1= path: [[String]] - full path to image file

Latest revision as of 23:11, 12 July 2022

Hover & click on the images for description

Description

Description:
Replaces GPS frame.
The following line must be defined in mission Description.ext:
onMinimapScript[] = {"BIS_fnc_customGPS_Spawn"};
Execution:
call
Groups:
GUI

Syntax

Syntax:
[path, deltaX, deltaY] call BIS_fnc_customGPS
Parameters:
path: String - full path to image file
deltaX (Optional): Number
deltaY (Optional): Number
Return Value:
Boolean

Examples

Example 1:
["ca\missions_pmc\data\ui_gps_ca.paa", -0.05, 0.16] call BIS_fnc_customGPS;

Additional Information

See also:
Functions Library

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note