Difference between revisions of "VN fnc log loadLogisticItem"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "call VN_" to "call [[VN_")
m (Some wiki formatting)
 
Line 28: Line 28:
 
|r1d= {{Biki|true}} on success, {{Biki|false}} on error
 
|r1d= {{Biki|true}} on success, {{Biki|false}} on error
  
|x1= <code>[player, cursorObject] call [[VN_fnc_log_loadLogisticItem</code>
+
|x1= <code>[player, cursorObject] call [[VN_fnc_log_loadLogisticItem]];</code>
 
}}
 
}}

Latest revision as of 20:18, 26 February 2021

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

Description

Loads object into vehicle, removes it from the world.

Syntax

Syntax
[player, objectToLoad] call VN_fnc_log_loadLogisticItem
Parameters
player: Object - player object
objectToLoad: Object - usually cursorObject
Return value
Boolean - true on success, false on error

Examples

Example 1
[player, cursorObject] call VN_fnc_log_loadLogisticItem;