Difference between revisions of "VN fnc module artillery"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Ethan Johnson | |author= Ethan Johnson | ||
− | |a= | + | |a= global |
− | |e= | + | |e= local |
|g1= master_functions | |g1= master_functions | ||
− | |d= | + | |d= Setup function for the artillery module system. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|s= [] call [[VN_fnc_module_artillery]] | |s= [] call [[VN_fnc_module_artillery]] | ||
− | |p1n= | + | |p1n= logic |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= the module logic |
|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> | + | |x1= <code>[module, units group player, true] call VN_fnc_module_artillery;</code> |
}} | }} |
Revision as of 21:41, 20 January 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Setup function for the artillery module system.
Syntax
- Syntax
- [] call VN_fnc_module_artillery
- 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_artillery;