BIS fnc customGPS: Difference between revisions
Jump to navigation
Jump to search
Execution:
call Groups:
Uncategorised
m (Generated by BIS_fnc_exportFunctionsToWiki) |
m (template:command argument fix) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Function|= | |||
____________________________________________________________________________________________ | |||
| arma2oa |= | |||
|1.56|= | |||
| | |arg= |MPARGUMENTS= | ||
| | |eff= local |= Effects in MP | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | | Replaces GPS frame. | ||
/ | <br> | ||
The following line '''must''' be defined in mission [[Description.ext]]: | |||
:<tt>onMinimapScript[] {{=}} {"BIS_fnc_customGPS_Spawn"};</tt>|= | |||
____________________________________________________________________________________________ | |||
| [path,''deltaX'',''deltaY''] call '''BIS_fnc_customGPS''' |= | |||
|p1= path: [[String]] - full path to image file |PARAMETER1= | |||
|p2= deltaX ''(Optional)'': [[Number]] |PARAMETER2= | |||
| | |p3= deltaY ''(Optional)'': [[Number]] |PARAMETER3= | ||
| | | [[Boolean]] |RETURNVALUE= | ||
| |= | |x1= <code>["ca\missions_pmc\data\ui_gps_ca.paa", -0.05, 0.16] [[call]] [[BIS_fnc_customGPS]];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Functions Library]] |SEEALSO= | ||
| |MPBEHAVIOUR= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
<h3 style= | <h3 style='display:none'>Notes</h3> | ||
<dl class= | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
Line 48: | Line 43: | ||
</dl> | </dl> | ||
<h3 style= | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Function Group: GUI|{{uc:customGPS}}]] | [[Category:Function Group: GUI|{{uc:customGPS}}]] | ||
[[Category:Functions|{{uc:customGPS}}]] | [[Category:Functions|{{uc:customGPS}}]] |
Revision as of 10:29, 7 April 2019
Description
- Description:
- Replaces GPS frame.
The following line must be defined in mission Description.ext:- onMinimapScript[] = {"BIS_fnc_customGPS_Spawn"};
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