Difference between revisions of "VN fnc log openLogisticsInventory"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Lou Montana moved page VN fnc log openlogisticsinventory to VN fnc log openLogisticsInventory: name standard)
(Page filling)
Line 6: Line 6:
 
|author= Ethan Johnson
 
|author= Ethan Johnson
  
|a=
+
|a= global
  
|e=
+
|e= local
  
 
|g1= Logistics
 
|g1= Logistics
  
|d= <pre>/*
+
|d= Opens logistics inventory of the vehicle passed to this function.
        FILE: fn_log_openlogisticsinventory.sqf
+
Also used when inventory is reloaded e.g when an item is taken out of a inventory that is in use.
        DATE: 27-07-2019
 
        AUTHOR: Ethan Johnson
 
  
        DESCRIPTION:
+
|s= [player, vehicle] call [[VN_fnc_log_openlogisticsinventory]]
                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.
 
        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]];
+
|p1n= player
 
+
|p1t= object
|p1n=
+
|p1d= player object - mandatory but not used
|p1t=
 
|p1d=
 
 
|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>
 
}}
 
}}

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

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;