Difference between revisions of "VN fnc zeus ordnance"

From Savage Game Design Wiki
Jump to navigation Jump to search
vn>Unknown user
m (Generated by LM_exportFunctionsToWiki.sqf)
 
m (Some wiki formatting)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Ethan Johnson
+
|author= Ethan Johnson
  
|e=
+
|a= global
 +
 
 +
|e= global
  
 
|g1= zeus_functions
 
|g1= zeus_functions
  
|d= <pre>/*
+
|d= Ordnance function which allows zeus modules to fire ordnance.
        FILE: fn_zeus_ordnance.sqf
 
        DATE: 18-05-2020
 
        AUTHOR: Ethan Johnson
 
  
        DESCRIPTION:
+
|s= [logic, units, isActivated] call [[VN_fnc_zeus_ordnance]]
                Ordnance function which allows zeus modules to fire ordanance.
 
        PARAMETERS:
 
(0): OBJECT - Logic object
 
(1): ARRAY - Array of units
 
(2): BOOL - Logic activated
 
        RETURNS:
 
                NONE
 
*/
 
  
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
+
|p1n= logic
 
+
|p1t= object
|s= [] call [[VN_fnc_zeus_ordnance]];
+
|p1d= the module logic
 
 
|p1n=
 
|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_zeus_ordnance]];</code>
 
}}
 
}}

Latest revision as of 20:22, 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

Ordnance function which allows zeus modules to fire ordnance.

Syntax

Syntax
[logic, units, isActivated] call VN_fnc_zeus_ordnance
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_zeus_ordnance;