Difference between revisions of "VN fnc log getInventory"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
m (Fix description)
Line 12: Line 12:
  
 
|d= Returns the inventory of the provided vehicle.
 
|d= Returns the inventory of the provided vehicle.
        PARAMETERS:
 
                (0): OBJECT - Object/vehicle that the inventory should be checked
 
        RETURNS:
 
                ARRAY
 
  
 
|s= [vehicle] call [[VN_fnc_log_getInventory]]
 
|s= [vehicle] call [[VN_fnc_log_getInventory]]

Revision as of 22:23, 18 January 2021

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

Description

Returns the inventory of the provided vehicle.

Syntax

Syntax
[vehicle] call VN_fnc_log_getInventory
Parameters
vehicle: Object - vehicle or crate from which to get the inventory
Return value
Array of Object - list of inventory objects

Examples

Example 1
[sogJeep] call VN_fnc_log_getInventory