Difference between revisions of "VN fnc module onslaught"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " |e=" to " |a= |e=")
 
(5 intermediate revisions by one other 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= <pre>/*
+
|d= Module init for the Onslaught module system, gathers and spawns units at predefined spawn points and gives them their tactic orders.
        FILE: fn_module_onslaught.sqf
 
        DATE: 28-11-2019
 
        AUTHOR: Ethan Johnson
 
  
        DESCRIPTION:
+
|s= [logic, units, isActivated] call [[VN_fnc_module_onslaught]]
                Module init for Onslaught module system, gathers and spawns units at predefined spawn points and gives them their tactic orders.
 
        PARAMETERS:
 
                (0): OBJECT - Logic unit.
 
                (1): ARRAY - List of units.
 
                (2): BOOLEAN - Activated variable.
 
        RETURNS:
 
                NONE
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[VN_fnc_module_onslaught]];
+
|p1n= logic
 
+
|p1t= object
|p1n=
+
|p1d= the module logic
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
|p2n=
+
|p2n= units
|p2t=
+
|p2t= {{DataType|array}} of {{DataType|object}}
|p2d=
+
|p2d= synchronised units
 
|p2v=
 
|p2v=
 +
 +
|p3n= isActivated
 +
|p3t= boolean
 +
|p3d= is the module activated
 +
|p3v= {{Biki|true}}
  
 
|r1t=
 
|r1t=
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>[module, units group player, true] call [[VN_fnc_module_onslaught]]</code>
 
}}
 
}}

Latest revision as of 03:31, 10 May 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