VN_ms_fnc_tracker_positionValid
VN_ms_fnc_tracker_positionValid
Checks if position is valid for AI group spawn.
Syntax
[area, pos, targets] call VN_ms_fnc_tracker_positionValidParameters
| Parameter | Type | Default | Description |
|---|---|---|---|
area |
String or Array | — | marker name or array format [center, a, b, angle*(, isRectangle, c)*] - see inAreaArray syntax |
pos |
Position | — | wanted spawning position |
targets |
Array | [] |
units that should not see the group spawning |
Examples
["enemy_respawn_area", player modelToWorld [0,100,0], units group player] call VN_ms_fnc_tracker_positionValid;