Difference between revisions of "VN ms fnc tracker spawnGroup"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) (Page filling) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |e= | + | |a= |
+ | |||
+ | |e= global | ||
|g1= tracker | |g1= tracker | ||
− | |d= < | + | |d= Spawns a group and potential vehicles based on <tt>{{Biki|configFile}} >> "CfgTrackerArmies" >> ''army'' >> "alert_''alert''"</tt> config entry. |
− | |||
− | |||
− | + | |s= [pos, alert, side, army] call [[VN_ms_fnc_tracker_spawnGroup]] | |
− | |||
− | + | |p1n= pos | |
− | + | |p1t= position | |
− | + | |p1d= group spawn position | |
− | + | |p1v= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |p2n= alert | |
− | + | |p2t= number | |
+ | |p2d= group's alert level | ||
+ | |p2v= 0 | ||
− | | | + | |p3n= side |
− | + | |p3t= side | |
− | | | + | |p3d= group's side |
− | | | + | |p3v= east |
− | |||
− | | | ||
− | | | + | |p4n= army |
− | | | + | |p4t= string |
− | | | + | |p4d= "army" as defined in "CfgTrackerArmies" |
− | | | + | |p4v= "VN" |
− | |r1t= | + | |r1t= group |
− | |r1d= | + | |r1d= the spawned group |
− | |x1= <code> | + | |x1= <code>[player modelToWorld [0,250,0], 1, east, "VN"] call [[VN_ms_fnc_tracker_spawnGroup]];</code> |
}} | }} |
Latest revision as of 16:23, 26 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Spawns a group and potential vehicles based on configFile >> "CfgTrackerArmies" >> army >> "alert_alert" config entry.
Syntax
- Syntax
- [pos, alert, side, army] call VN_ms_fnc_tracker_spawnGroup
- Parameters
- pos: Position - group spawn position
- alert: Number - (Optional, default
0
) group's alert level - side: Side - (Optional, default
east
) group's side - army: String - (Optional, default
"VN"
) "army" as defined in "CfgTrackerArmies" - Return value
- Group - the spawned group
Examples
- Example 1
[player modelToWorld [0,250,0], 1, east, "VN"] call VN_ms_fnc_tracker_spawnGroup;