BIS fnc customGPS: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2oa | |game1= arma2oa | ||
|version1= 1.56 | |||
|1. | |game2= tkoh | ||
|version2= 1.00 | |||
|game3= arma3 | |||
|version3= 0.50 | |||
|gr1= GUI | |gr1= GUI | ||
Line 9: | 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"}; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| [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 | ||
Line 22: | Line 27: | ||
|p3= deltaY ''(Optional)'': [[Number]] | |p3= deltaY ''(Optional)'': [[Number]] | ||
|r1= [[Boolean]] | |||
|x1= <sqf>["ca\missions_pmc\data\ui_gps_ca.paa", -0.05, 0.16] call BIS_fnc_customGPS;</sqf> | |||
|seealso= [[Functions Library]] | |seealso= [[Functions Library]] | ||
}} | }} | ||
Latest revision as of 23:11, 12 July 2022
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:
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