Entities.GetInSphere(Vector, number, integer = PARTITION_CLIENT_NON_STATIC_EDICTS, integer = PARTITION_CLIENT_NON_STATIC_EDICTS)

shared
Finds all entities in the given sphere. Note that clientPartitionMask is only available on the client.

Arguments

  • position Vector
  • radius number
  • Optional flagMask integer PARTITION_CLIENT_NON_STATIC_EDICTS
  • Optional partitionMask integer PARTITION_CLIENT_NON_STATIC_EDICTS

Returns

  • table A table of entities found.
  • integer The number of entities found.

Examples

Entities.GetInSphere – Finds all entities in the given sphere. Note that clientPartitionMask is only available on the client.