BIS fnc customGPS: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________
| arma2oa |Game name=


{{Function|= Comments
|1.56|Game version=
____________________________________________________________________________________________


| arma2oa |= Game name
|arg= |MPARGUMENTS=


|1.00|= Game version
|eff= local |MPEffects=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>
| Replaces GPS frame.<br>
/*
The following line '''must''' be defined in mission [[Description.ext]]:
<syntaxhighlight lang="cpp">onMinimapScript[] = {"BIS_fnc_customGPS_Spawn"};</syntaxhighlight> |Description=
____________________________________________________________________________________________


Description:
| [path, ''deltaX'', ''deltaY''] call [[BIS_fnc_customGPS]] |Syntax=
Replaces GPS frame.
Following line have to be defined in mission Description.ext:
onMinimapScript[] = {"BIS_fnc_customGPS_Spawn"};


Parameter(s):
|p1= path: [[String]] - full path to image file |PARAMETER1=
_this select 0: STRING - Image path
_this select 1 (Optional): NUMBER - Delta X
_this select 2 (Optional): NUMBER - Delta Y


Returns:
|p2= deltaX ''(Optional)'': [[Number]] |PARAMETER2=
True
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_customGPS]]; --> |= Syntax
|p3= deltaY ''(Optional)'': [[Number]] |PARAMETER3=


|p1= |= Parameter 1
| [[Boolean]] |RETURNVALUE=
 
| |= Return value
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>["ca\missions_pmc\data\ui_gps_ca.paa", -0.05, 0.16] [[call]] [[BIS_fnc_customGPS]];</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Functions Library]] |SEEALSO=


|  |MPBEHAVIOUR=
}}
}}


<h3 style="display:none">Notes</h3>
<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


Line 48: Line 41:
</dl>
</dl>


<h3 style="display:none">Bottom Section</h3>
<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 13:01, 3 September 2019

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:
Uncategorised

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

Notes

Bottom Section