Difference between revisions of "VN fnc radar initDisplay"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "call VN_" to "call [[VN_") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
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 |
|
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;