Difference between revisions of "VN fnc log isLoaded"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Lou Montana moved page VN fnc log isloaded to VN fnc log isLoaded: name standard)
m (Text replacement - "call VN_" to "call [[VN_")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 6: Line 5:
 
|author= Ethan Johnson
 
|author= Ethan Johnson
  
|a=
+
|a= global
  
|e=
+
|e= local
  
|g1= logistics_functions
+
|g1= Logistics
  
|d= <pre>/*
+
|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.
        FILE: fn_log_isloaded.sqf
+
If ''vehicle'' is not provided then it will only check if the object is loaded in any vehicle.
        DATE: 01-11-2019
 
        AUTHOR: Ethan Johnson
 
  
        DESCRIPTION:
+
|s= [object, vehicle] call [[VN_fnc_log_isLoaded]]
                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 objnull then it will just check if the object is loaded in any vehicle.
 
        PARAMETERS:
 
                (0): OBJECT - Object that maybe loaded
 
                (1): OBJECT - Vehicle inventory that will be checked.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[VN_fnc_log_isloaded]];
+
|p1n= object
 
+
|p1t= object
|p1n=
+
|p1d= object that may be loaded
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= vehicle
|p2t=
+
|p2t= object
|p2d=
+
|p2d= vehicle inventory
|p2v=
+
|p2v= {{Biki|objNull}}
  
|r1t=
+
|r1t= boolean
|r1d=
+
|r1d= {{Biki|true}} if loaded, {{Biki|false}} if not
  
|x1= <code>-</code>
+
|x1= <code>[myCargo, sogJeep] call [[VN_fnc_log_isLoaded</code>
 
}}
 
}}

Latest revision as of 09:14, 27 February 2021

{{Function

|v= 1.00

|author= Ethan Johnson

|a= global

|e= local

|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. If vehicle is not provided then it will only check if the object is loaded in any vehicle.

|s= [object, vehicle] call VN_fnc_log_isLoaded

|p1n= object |p1t= object |p1d= object that may be loaded |p1v=

|p2n= vehicle |p2t= object |p2d= vehicle inventory |p2v= objNull

|r1t= boolean |r1d= true if loaded, false if not

|x1= [myCargo, sogJeep] call [[VN_fnc_log_isLoaded }}