Skip to content
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_positionValid

Parameters

ParameterTypeDefaultDescription
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;

Documented by Wyqer, veteran29.