Difference between revisions of "VN fnc module onslaught"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
m (Fix parameters)
Line 13: Line 13:
 
|d= Module init for the Onslaught module system, gathers and spawns units at predefined spawn points and gives them their tactic orders.
 
|d= Module init for the Onslaught module system, gathers and spawns units at predefined spawn points and gives them their tactic orders.
  
|s= [] call [[VN_fnc_module_onslaught]]
+
|s= [logic, units, isActivated] call [[VN_fnc_module_onslaught]]
  
 
|p1n= logic
 
|p1n= logic

Revision as of 22:12, 20 January 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): global
Effect(s): global

Description

Module init for the Onslaught module system, gathers and spawns units at predefined spawn points and gives them their tactic orders.

Syntax

Syntax
[logic, units, isActivated] call VN_fnc_module_onslaught
Parameters
logic: Object - the module logic
units: Array of Object - synchronised units
isActivated: Boolean - (Optional, default true) is the module activated
Return value
Nothing

Examples

Example 1
[module, units group player, true] call VN_fnc_module_onslaught