Difference between revisions of "VN fnc radar initDisplay"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " {{Function" to "Category:TODO {{Function")
m (Some wiki formatting)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|author=  
+
|author=
  
|a=
+
|a= local
  
|e=
+
|e= local
  
 
|g1= boat_functions
 
|g1= boat_functions
  
|d= <pre>/*
+
|d= Automatically initialised on the RscInGameUI onLoad event for shantou and ptf, this function is used to manage any kind of UI manipulation while the player is inside the boat, particularly MFD rendering.
* vn_fn_radar_initDisplay
 
*
 
* function is initialized on the RscInGameUI onLoad event for shantou and ptf.
 
* function is used to manage any kind of UI manipulation while the player is inside the boat, particularly MFD rendering
 
*
 
*
 
* params: none
 
*
 
* returns: none
 
*/
 
  
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
+
|s= [vehicle, unused, unit] call [[VN_fnc_radar_initDisplay]]
  
|s= [] call [[VN_fnc_radar_initDisplay]];
+
|p1n= vehicle
 
+
|p1t= object
|p1n=
+
|p1d= vehicle with display
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= unused
 
|p2t=
 
|p2t=
|p2d=
+
|p2d= unused argument
 
|p2v=
 
|p2v=
 +
 +
|p3n= unit
 +
|p3t= object
 +
|p3d= '''has''' to be {{Biki|player}}!
 +
|p3v=
  
 
|r1t=
 
|r1t=
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>[sogBoat, nil, player] call [[VN_fnc_radar_initDisplay]];</code>
 
}}
 
}}

Latest revision as of 20:19, 26 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
Argument(s): local
Effect(s): local

Description

Automatically initialised on the RscInGameUI onLoad event for shantou and ptf, this function is used to manage any kind of UI manipulation while the player is inside the boat, particularly MFD rendering.

Syntax

Syntax
[vehicle, unused, unit] call VN_fnc_radar_initDisplay
Parameters
vehicle: Object - vehicle with display
unused - unused argument
unit: Object - has to be player!
Return value
Nothing

Examples

Example 1
[sogBoat, nil, player] call VN_fnc_radar_initDisplay;