Difference between revisions of "VN fnc log isLoaded"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
m (Text replacement - "logistics_functions" to "Logistics")
Line 9: Line 9:
 
|e= local
 
|e= local
  
|g1= logistics_functions
+
|g1= Logistics
  
 
|d= Checks if the object is loaded at all or if a vehicle is also passed checks if the object is loaded in the vehicle.
 
|d= Checks if the object is loaded at all or if a vehicle is also passed checks if the object is loaded in the vehicle.

Revision as of 23:08, 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

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