Difference between revisions of "VN fnc module logistics"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{Function" to "Category:TODO {{Function") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(4 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= global |
|g1= master_functions | |g1= master_functions | ||
− | |d= | + | |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= [logic, units, isActivated] call [[VN_fnc_module_logistics]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | + | |p1n= logic |
+ | |p1t= object | ||
+ | |p1d= the module logic | ||
+ | |p1v= | ||
− | | | + | |p2n= units |
− | | | + | |p2t= {{DataType|array}} of {{DataType|object}} |
− | | | + | |p2d= synchronised units, unused |
− | | | + | |p2v= [] |
− | | | + | |p3n= isActivated |
− | | | + | |p3t= boolean |
− | | | + | |p3d= is the module activated |
− | | | + | |p3v= {{Biki|true}} |
|r1t= | |r1t= | ||
|r1d= | |r1d= | ||
− | |x1= <code> | + | |x1= <code>[module, units group player, true] call [[VN_fnc_module_logistics]];</code> |
}} | }} |
Latest revision as of 20:21, 26 February 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;