Difference between revisions of "VN fnc module logistics"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "call VN_" to "call [[VN_")
m (Some wiki formatting)
 
Line 33: Line 33:
 
|r1d=
 
|r1d=
  
|x1= <code>[module, units group player, true] call [[VN_fnc_module_logistics</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
Argument(s): global
Effect(s): global

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;