Difference between revisions of "VN fnc radar initDisplay"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 33: Line 33:
 
|r1d=
 
|r1d=
  
|x1= <code>[sogBoat, nil, player] call VN_fnc_radar_initDisplay;</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;