VN_fnc_radar_initDisplay

From Savage Game Design Wiki
Jump to navigation Jump to search
← 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;