VN_fnc_log_isLoaded

From Savage Game Design Wiki
Revision as of 23:08, 18 January 2021 by Lou Montana (talk | contribs) (Text replacement - "logistics_functions" to "Logistics")
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

Checks if the object is loaded at all or if a vehicle is also passed checks if the object is loaded in the vehicle. If vehicle is not provided then it will only check if the object is loaded in any vehicle.

Syntax

Syntax
[object, vehicle] call VN_fnc_log_isLoaded
Parameters
object: Object - object that may be loaded
vehicle: Object - (Optional, default objNull) vehicle inventory
Return value
Boolean - true if loaded, false if not

Examples

Example 1
[myCargo, sogJeep] call VN_fnc_log_isLoaded