Difference between revisions of "VN ms fnc tracker overlord init"
Jump to navigation
Jump to search
vn>Unknown user m (Generated by LM_exportFunctionsToWiki.sqf) |
Lou Montana (talk | contribs) (Page filling) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Wyqer, veteran29 |
+ | |||
+ | |a= | ||
|e= | |e= | ||
Line 10: | Line 11: | ||
|g1= tracker | |g1= tracker | ||
− | |d= | + | |d= Initializes Overlord on an area. |
− | |||
− | |||
− | + | |s= [ao, enemySide, spawnCondition, alertLevel] call [[VN_ms_fnc_tracker_overlord_init]] | |
− | |||
− | + | |p1n= ao | |
− | + | |p1t= {{Biki|String}} or {{Biki|Array}} | |
− | + | |p1d= marker name or array format [center, a, b, angle''(, isRectangle, c)''] - see {{Biki|inAreaArray#Syntax 2|inAreaArray}} syntax | |
− | + | |p1v= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |p2n= enemySide | |
− | + | |p2t= side | |
− | + | |p2d= side of groups spawned by Overlord | |
+ | |p2v= east | ||
− | | | + | |p3n= spawnCondition |
− | + | |p3t= code | |
− | + | |p3d= condition checked before groups are spawned | |
− | | | + | |p3v= { true } |
− | | | ||
− | | | ||
− | | | + | |p4n= alertLevel |
− | | | + | |p4t= number |
− | | | + | |p4d= starting alert value for Overlord |
− | | | + | |p4v= 0 |
− | |r1t= | + | |r1t= number |
− | |r1d= | + | |r1d= FSM id |
− | |x1= <code>-</code> | + | |x1= <code>[<nowiki/>[getPos leader sogGroup, 500, 500, 0], east, { allPlayers findIf { alive _x } != -1 }, 2] call [[VN_ms_fnc_tracker_overlord_init]];</code> |
}} | }} |
Latest revision as of 15:58, 26 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Initializes Overlord on an area.
Syntax
- Syntax
- [ao, enemySide, spawnCondition, alertLevel] call VN_ms_fnc_tracker_overlord_init
- Parameters
- ao: String or Array - marker name or array format [center, a, b, angle(, isRectangle, c)] - see inAreaArray syntax
- enemySide: Side - (Optional, default
east
) side of groups spawned by Overlord - spawnCondition: Code - (Optional, default
{ true }
) condition checked before groups are spawned - alertLevel: Number - (Optional, default
0
) starting alert value for Overlord - Return value
- Number - FSM id
Examples
- Example 1
[[getPos leader sogGroup, 500, 500, 0], east, { allPlayers findIf { alive _x } != -1 }, 2] call VN_ms_fnc_tracker_overlord_init;