VN_fnc_log_getInventory

From Savage Game Design Wiki
Revision as of 22:23, 18 January 2021 by Lou Montana (talk | contribs) (Page filling)
Jump to navigation Jump to search
← 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.

       PARAMETERS:
               (0): OBJECT - Object/vehicle that the inventory should be checked
       RETURNS:
               ARRAY

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