Difference between revisions of "VN fnc module logistics"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
Lou Montana (talk | contribs) m (Fix parameters) |
||
Line 13: | Line 13: | ||
|d= Module function for the logistics. Sets up variables for the item & vehicle list and adds the actions for clients ''via'' [[VN_fnc_log_userActions]]. | |d= Module function for the logistics. Sets up variables for the item & vehicle list and adds the actions for clients ''via'' [[VN_fnc_log_userActions]]. | ||
− | |s= [] call [[VN_fnc_module_logistics]] | + | |s= [logic, units, isActivated] call [[VN_fnc_module_logistics]] |
|p1n= logic | |p1n= logic |
Revision as of 22:13, 20 January 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Module function for the logistics. Sets up variables for the item & vehicle list and adds the actions for clients via VN_fnc_log_userActions.
Syntax
- Syntax
- [logic, units, isActivated] call VN_fnc_module_logistics
- Parameters
- logic: Object - the module logic
- units: Array of Object - (Optional, default
[]
) synchronised units, unused - isActivated: Boolean - (Optional, default
true
) is the module activated - Return value
- Nothing
Examples
- Example 1
[module, units group player, true] call VN_fnc_module_logistics