Difference between revisions of "VN fnc radar initDisplay"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | |author= | + | |author= |
+ | |||
+ | |a= local | ||
− | |e= | + | |e= local |
|g1= boat_functions | |g1= boat_functions | ||
− | |d= | + | |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. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[VN_fnc_radar_initDisplay]] | + | |s= [vehicle, unused, unit] call [[VN_fnc_radar_initDisplay]] |
− | |p1n= | + | |p1n= vehicle |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= vehicle with display |
|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> | + | |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;