Difference between revisions of "BIS fnc customGPS"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Function|=
+
{{Function|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma2oa |=
+
| arma2oa |Game name=
  
|1.56|=
+
|1.56|Game version=
  
|arg= |MPARGUMENTS=  
+
|arg= |MPARGUMENTS=
  
|eff= local |= Effects in MP
+
|eff= local |MPEffects=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Replaces GPS frame.
+
| Replaces GPS frame.<br>
<br>
 
 
The following line '''must''' be defined in mission [[Description.ext]]:
 
The following line '''must''' be defined in mission [[Description.ext]]:
:<tt>onMinimapScript[] {{=}} {"BIS_fnc_customGPS_Spawn"};</tt>|=
+
<syntaxhighlight lang="cpp">onMinimapScript[] = {"BIS_fnc_customGPS_Spawn"};</syntaxhighlight> |Description=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [path,''deltaX'',''deltaY''] call '''BIS_fnc_customGPS'''  |=
+
| [path, ''deltaX'', ''deltaY''] call [[BIS_fnc_customGPS]] |Syntax=
  
|p1= path: [[String]] - full path to image file |PARAMETER1=  
+
|p1= path: [[String]] - full path to image file |PARAMETER1=
  
|p2= deltaX ''(Optional)'': [[Number]] |PARAMETER2=  
+
|p2= deltaX ''(Optional)'': [[Number]] |PARAMETER2=
  
 
|p3= deltaY ''(Optional)'': [[Number]] |PARAMETER3=
 
|p3= deltaY ''(Optional)'': [[Number]] |PARAMETER3=
Line 30: Line 29:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Functions Library]] |SEEALSO=  
+
| [[Functions Library]] |SEEALSO=
  
|  |MPBEHAVIOUR=  
+
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
 
 
}}
 
}}
  

Latest revision as of 13:01, 3 September 2019

Introduced with Arma 2: Operation Arrowhead version 1.561.56Effects of this scripting function are not broadcasted over the network and remain local to the client the function is executed on
Hover & click on the images for descriptions

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

Execution:
call
See also:
Functions Library

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section