Entities.GetInBox(Vector, Vector, integer = PARTITION_CLIENT_NON_STATIC_EDICTS, integer = PARTITION_CLIENT_NON_STATIC_EDICTS)

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

Arguments

  • mins Vector
  • maxs Vector
  • Optional flagMask integer PARTITION_CLIENT_NON_STATIC_EDICTS
  • Optional clientPartitionMask integer PARTITION_CLIENT_NON_STATIC_EDICTS

Returns

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

Examples

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