Difference between revisions of "BIS fnc customGPS"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (template:command argument fix)
Line 6: Line 6:
 
|1.56|=
 
|1.56|=
  
|arg= |= MPARGUMENTS
+
|arg= |MPARGUMENTS=  
  
 
|eff= local |= Effects in MP
 
|eff= local |= Effects in MP
Line 19: Line 19:
 
| [path,''deltaX'',''deltaY''] call '''BIS_fnc_customGPS'''  |=
 
| [path,''deltaX'',''deltaY''] call '''BIS_fnc_customGPS'''  |=
  
|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=
  
| [[Boolean]] |= RETURNVALUE
+
| [[Boolean]] |RETURNVALUE=
  
|x1= <code>["ca\missions_pmc\data\ui_gps_ca.paa", -0.05, 0.16] [[call]] [[BIS_fnc_customGPS]];</code>|= EXAMPLE1
+
|x1= <code>["ca\missions_pmc\data\ui_gps_ca.paa", -0.05, 0.16] [[call]] [[BIS_fnc_customGPS]];</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Functions Library]] |= SEEALSO
+
| [[Functions Library]] |SEEALSO=  
  
|  |= MPBEHAVIOUR
+
|  |MPBEHAVIOUR=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}

Revision as of 10:29, 7 April 2019

Introduced with Arma 2: Operation Arrowhead version1.56
  Effects of this scripting function are not broadcasted over the network and remain local to the client the function is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.56

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
Multiplayer:
-
See also:
Functions Library

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section