BIS fnc customGPS: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|(arg|eff|serverExec|mp|seealso)= " to "")
m (Text replacement - "};</syntaxhighlight>" to "}; </syntaxhighlight>")
Line 11: Line 11:
| Replaces GPS frame.<br>
| 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>
<syntaxhighlight lang="cpp">onMinimapScript[] = {"BIS_fnc_customGPS_Spawn"};
</syntaxhighlight>


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

Revision as of 11:08, 25 May 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
GUI

Syntax

Syntax:
Syntax needed
Parameters:
path: String - full path to image file
deltaX (Optional): Number
deltaY (Optional): Number
Return Value:
Return value needed

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