BIS fnc customGPS: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - "\|+$" to "")
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma2oa
|game1= arma2oa
|1.56
|version1= 1.56


|game2= tkoh
|game2= tkoh
Line 14: Line 14:
|eff= local
|eff= local


| Replaces GPS frame.<br>
|descr= Replaces GPS frame.<br>
The following line '''must''' be defined in mission [[Description.ext]]:
The following line '''must''' be defined in mission [[Description.ext]]:
<syntaxhighlight lang="cpp">onMinimapScript[] = {"BIS_fnc_customGPS_Spawn"};
<syntaxhighlight lang="cpp">onMinimapScript[] = {"BIS_fnc_customGPS_Spawn"};
Line 33: Line 33:
|seealso= [[Functions Library]]
|seealso= [[Functions Library]]
}}
}}
[[Category:{{Name|arma2oa}}: Functions|{{uc:customGPS}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:customGPS}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:customGPS}}]]

Revision as of 00:10, 17 June 2021

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