Difference between revisions of "VN fnc log openLogisticsInventory"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " |e=" to " |a= |e=")
m (Some wiki formatting)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
Line 6: Line 5:
 
|author= Ethan Johnson
 
|author= Ethan Johnson
  
|a=
+
|a= global
 
 
|e=
 
  
|g1= logistics_functions
+
|e= local
  
|d= <pre>/*
+
|g1= Logistics
        FILE: fn_log_openlogisticsinventory.sqf
 
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
  
        DESCRIPTION:
+
|d= Opens logistics inventory of the vehicle passed to this function.
                Opens logistics inventory of the vehicle passed to this function.
+
Also used when inventory is reloaded e.g when an item is taken out of a inventory that is in use.
                Also used when inventory is reloaded e.g when an item is taken out of a inventory that is in use.
 
        PARAMETERS:
 
                (0): OBJECT - Player object.
 
                (1): NUMBER - Cursor object that the player is looking at.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[VN_fnc_log_openlogisticsinventory]];
+
|s= [player, vehicle] call [[VN_fnc_log_openlogisticsinventory]]
  
|p1n=
+
|p1n= player
|p1t=
+
|p1t= object
|p1d=
+
|p1d= player object - mandatory but not used
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= vehicle
|p2t=
+
|p2t= object
|p2d=
+
|p2d= vehicle from which inventory will be opened
 
|p2v=
 
|p2v=
  
|r1t=
+
|r1t= boolean
|r1d=
+
|r1d= {{Biki|true}} when
  
|x1= <code>-</code>
+
|x1= <code>[player, sogJeep] call [[VN_fnc_log_openLogisticsInventory]];</code>
 
}}
 
}}

Latest revision as of 20:22, 26 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): global
Effect(s): local

Description

Opens logistics inventory of the vehicle passed to this function. Also used when inventory is reloaded e.g when an item is taken out of a inventory that is in use.

Syntax

Syntax
[player, vehicle] call VN_fnc_log_openlogisticsinventory
Parameters
player: Object - player object - mandatory but not used
vehicle: Object - vehicle from which inventory will be opened
Return value
Boolean - true when

Examples

Example 1
[player, sogJeep] call VN_fnc_log_openLogisticsInventory;