Skip to content
VN_fnc_log_isLoaded

VN_fnc_log_isLoaded

v1.00Theme: LogisticsGroup: LogisticsArguments: globalEffects: localReturns: Boolean

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

[object, vehicle] call VN_fnc_log_isLoaded

Parameters

ParameterTypeDefaultDescription
object Object— object that may be loaded
vehicle ObjectobjNull vehicle inventory

Return value

Boolean - true if loaded, false if not

Examples

[myCargo, sogJeep] call VN_fnc_log_isLoaded

Documented by Ethan Johnson.