Difference between revisions of "VN fnc log unloadLogisticItem"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Remove TODO category)
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
|r1d= {{Biki|true}} on success, {{Biki|false}} on failure
 
|r1d= {{Biki|true}} on success, {{Biki|false}} on failure
  
|x1= <code>[sogJeep, 3] call VN_fnc_log_unloadLogisticItem</code>
+
|x1= <code>[sogJeep, 3] call [[VN_fnc_log_unloadLogisticItem]];</code>
 
}}
 
}}

Latest revision as of 20:19, 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

Adds actions for players for the logistics module.

Syntax

Syntax
[cursorObject, listIndex] call VN_fnc_log_unloadLogisticItem
Parameters
cursorObject: Object - object that has the object loaded into it
listIndex: Number - index for the item in the listbox. Used for unloading & removal from the vehicle's virtual inventory
Return value
Boolean - true on success, false on failure

Examples

Example 1
[sogJeep, 3] call VN_fnc_log_unloadLogisticItem;