Difference between revisions of "VN fnc log openLogisticsInventory"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Lou Montana moved page VN fnc log openlogisticsinventory to VN fnc log openLogisticsInventory: name standard) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(3 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= | + | |e= local |
|g1= Logistics | |g1= Logistics | ||
− | |d= | + | |d= 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. | |
− | |||
− | |||
− | + | |s= [player, vehicle] 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> | + | |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 |
|
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;