e2 docs find - wiremod/wire GitHub Wiki
Find
= findUpdateRate()
Returns the minimum delay between entity find events on a chip (2 ops)
= findMax()
Returns the maximum number of finds per E2 (2 ops)
= findCount()
Returns the remaining available find calls (2 ops)
= findCanQuery()
Returns 1 if find functions can be used, 0 otherwise (2 ops)
= findInSphere(
Center,
Radius)
Finds entities in a sphere around V with a radius of N, returns the number found after filtering (30 ops)
= findInCone(
Position,
Direction,
Length,
Degrees)
Like findInSphere but with a http://mathworld.wolfram.com/SphericalCone.html Spherical cone, arguments are for position, direction, length, and degrees (works now) (30 ops)
= findInBox(
Min,
Max)
Like findInSphere but with a globally aligned box, the arguments are the diagonal corners of the box (30 ops)
= findByName(
Name)
Find all entities with the given name (30 ops)
= findByModel(
Model)
Find all entities with the given model (30 ops)
= findByClass(
Class)
Find all entities with the given class (30 ops)
= findPlayerByName(
Name)
Returns the player with the given name, this is an exception to the rule (30 ops)
= findPlayerBySteamID(
Id)
Returns the player with the given SteamID32 (30 ops)
= findPlayerBySteamID64(
Id)
Returns the player with the given SteamID64 (30 ops)
Arr)
findExcludeEntities(Exclude all entities in array from future finds (10 ops)
Ent)
findExcludePlayer(Exclude specified player from future finds (put it on the entity blacklist) (10 ops)
Ent)
findExcludeEntity(Exclude entity from future finds (10 ops)
Name)
findExcludePlayer(Exclude player with specified name from future finds (put it on the entity blacklist) (10 ops)
Ply)
findExcludePlayerProps(Exclude entities owned by specified player from future finds (10 ops)
Name)
findExcludePlayerProps(Exclude entities owned by player with specified name from future finds (10 ops)
Model)
findExcludeModel(Exclude entities with this model (or partial model name) from future finds (10 ops)
Class)
findExcludeClass(Exclude entities with this class (or partial class name) from future finds (10 ops)
Arr)
findAllowEntities(Remove all entities in array from the blacklist (10 ops)
Ent)
findAllowPlayer(Remove specified player from the entity blacklist (10 ops)
Ent)
findAllowEntity(Remove entity from the blacklist (10 ops)
Name)
findAllowPlayer(Remove player with specified name from the entity blacklist (10 ops)
Ply)
findAllowPlayerProps(Remove entities owned by specified player from the blacklist (10 ops)
Name)
findAllowPlayerProps(Remove entities owned by player with specified name from the blacklist (10 ops)
Model)
findAllowModel(Remove entities with this model (or partial model name) from the blacklist (10 ops)
Class)
findAllowClass(Remove entities with this class (or partial class name) from the blacklist (10 ops)
Arr)
findIncludeEntities(Include all entities in array in future finds, and remove others not in the whitelist (10 ops)
Ent)
findIncludeEntity(Include entity in future finds, and remove others not in the whitelist (10 ops)
Ent)
findIncludePlayer(Include specified player in future finds, and remove other entities not in the entity whitelist (10 ops)
Name)
findIncludePlayer(Include player with specified name in future finds, and remove other entities not in the entity whitelist (10 ops)
Ply)
findIncludePlayerProps(Include entities owned by specified player in future finds, and remove others not in the whitelist (10 ops)
Name)
findIncludePlayerProps(Include entities owned by player with specified name in future finds, and remove others not in the whitelist (10 ops)
Model)
findIncludeModel(Include entities with this model (or partial model name) in future finds, and remove others not in the whitelist (10 ops)
Class)
findIncludeClass(Include entities with this class (or partial class name) in future finds, and remove others not in the whitelist (10 ops)
Arr)
findDisallowEntities(Remove all entities in array from the whitelist (10 ops)
Ent)
findDisallowEntity(Remove entity from the whitelist (10 ops)
Ent)
findDisallowPlayer(Remove specified player from the entity whitelist (10 ops)
Name)
findDisallowPlayer(Remove player with specified name from the entity whitelist (10 ops)
Ply)
findDisallowPlayerProps(Remove entities owned by specified player from the whitelist (10 ops)
Name)
findDisallowPlayerProps(Remove entities owned by player with specified name from the whitelist (10 ops)
Model)
findDisallowModel(Remove entities with this model (or partial model name) from the whitelist (10 ops)
Class)
findDisallowClass(Remove entities with this class (or partial class name) from the whitelist (10 ops)
findClearBlackList()
Clear all entries from the entire blacklist (10 ops)
findClearBlackEntityList()
Clear all entries from the entity blacklist (10 ops)
findClearBlackPlayerPropList()
Clear all entries from the prop owner blacklist (10 ops)
findClearBlackModelList()
Clear all entries from the model blacklist (10 ops)
findClearBlackClassList()
Clear all entries from the class blacklist (10 ops)
findClearWhiteList()
Clear all entries from the entire whitelist (10 ops)
findClearWhiteEntityList()
Clear all entries from the player whitelist (10 ops)
findClearWhitePlayerPropList()
Clear all entries from the prop owner whitelist (10 ops)
findClearWhiteModelList()
Clear all entries from the model whitelist (10 ops)
findClearWhiteClassList()
Clear all entries from the class whitelist (10 ops)
Usehardcodedfilter)
findAllowBlockedClasses(Allows or disallows finding entities on the hardcoded class blocklist, including classes like "prop_dynamic", "physgun_beam" and "gmod_ghost". (2 ops)
= findResult(
Index)
Returns the indexed entity from the previous find event (valid parameters are 1 to the number of entities found) (2 ops)
= findClosest(
Position)
Returns the closest entity to the given point from the previous find event (2 ops)
= findToArray()
Formats the query as an array, R[Index,entity] to get an entity (2 ops)
= find()
Equivalent to findResult(1) (2 ops)
= findSortByDistance(
Position)
Sorts the entities from the last find event, index 1 is the closest to point V, returns the number of entities in the list (10 ops)
= findClipToClass(
Class)
Filters the list of entities by removing all entities that are NOT of this class (5 ops)
= findClipFromClass(
Class)
Filters the list of entities by removing all entities that are of this class (5 ops)
= findClipToModel(
Model)
Filters the list of entities by removing all entities that do NOT have this model (5 ops)
= findClipFromModel(
Model)
Filters the list of entities by removing all entities that do have this model (5 ops)
= findClipToName(
Name)
Filters the list of entities by removing all entities that do NOT have this name (5 ops)
= findClipFromName(
Name)
Filters the list of entities by removing all entities that do have this name (5 ops)
= findClipToSphere(
Center,
Radius)
Filters the list of entities by removing all entities NOT within the specified sphere (center, radius) (5 ops)
= findClipFromSphere(
Center,
Radius)
Filters the list of entities by removing all entities within the specified sphere (center, radius) (5 ops)
= findClipToRegion(
Origin,
Perpendicular)
Filters the list of entities by removing all entities NOT on the positive side of the defined plane. (Plane origin, vector perpendicular to the plane) You can define any convex hull using this (5 ops)
= findClipFromBox(
Min,
Max)
Filters the list of entities by removing all entities within the specified box (5 ops)
= findClipToBox(
Min,
Max)
Filters the list of entities by removing all entities NOT within the specified box (5 ops)
= findClipFromEntity(
Ent)
Filters the list of entities by removing this entity (5 ops)
= findClipFromEntities(
Entities)
Filters the list of entities by removing all entities that are in this array (5 ops)
= findClipToEntity(
Ent)
Filters the list of entities by removing all except this entity (5 ops)
= findClipToEntities(
Entities)
Filters the list of entities by removing all entities that are NOT in this array (5 ops)
= findClipToPlayerProps(
Ply)
(5 ops)
= findClipFromPlayerProps(
Ply)
(5 ops)