Login
Create

Players Within Radius Last updated July 06, 2020

Description

An array containing all players within a certain distance of a position, optionally restricted by team and line of sight.

Return

array: player

Arguments

Name: CENTER
Description: The center position from which to measure distance.
Type: Position
Default: VECTOR

Name: RADIUS
Description: The radius in meters inside which players must be in order to be included in the resulting array.
Type: unsigned float
Default: NUMBER

Name: TEAM
Description: The team or teams to which a player must belong to be included in the resulting array.
Type: Team
Default: TEAM

Name: LOS CHECK
Description: Specifies whether and how a player must pass a line-of-sight check to be included in the resulting array.
Type: LosCheck
Default: 'OFF'

Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord