VN_ms_fnc_tracker_positionValid

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): global
Effect(s): unknown

Description

Checks if position is valid for AI group spawn.

Syntax

Syntax
[area, pos, targets] call VN_ms_fnc_tracker_positionValid
Parameters
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 - (Optional, default []) units that should not see the group spawning
Return value
Boolean

Examples

Example 1
["enemy_respawn_area", player modelToWorld [0,100,0], units group player] call VN_ms_fnc_tracker_positionValid;