Table of Contents
- Find
- Number = findUpdateRate()
- Number = findMax()
- Number = findCount()
- Number = findCanQuery()
- Number = findInSphere(Vector Center, Number Radius)
- Number = findInCone(Vector Position, Vector Direction, Number Length, Number Degrees)
- Number = findInBox(Vector Min, Vector Max)
- Number = findByName(String Name)
- Number = findByModel(String Model)
- Number = findByClass(String Class)
- Entity = findPlayerByName(String Name)
- Entity = findPlayerBySteamID(String Id)
- Entity = findPlayerBySteamID64(String Id)
- findExcludeEntities(Array Arr)
- findExcludePlayer(Entity Ent)
- findExcludeEntity(Entity Ent)
- findExcludePlayer(String Name)
- findExcludePlayerProps(Entity Ply)
- findExcludePlayerProps(String Name)
- findExcludeModel(String Model)
- findExcludeClass(String Class)
- findAllowEntities(Array Arr)
- findAllowPlayer(Entity Ent)
- findAllowEntity(Entity Ent)
- findAllowPlayer(String Name)
- findAllowPlayerProps(Entity Ply)
- findAllowPlayerProps(String Name)
- findAllowModel(String Model)
- findAllowClass(String Class)
- findIncludeEntities(Array Arr)
- findIncludeEntity(Entity Ent)
- findIncludePlayer(Entity Ent)
- findIncludePlayer(String Name)
- findIncludePlayerProps(Entity Ply)
- findIncludePlayerProps(String Name)
- findIncludeModel(String Model)
- findIncludeClass(String Class)
- findDisallowEntities(Array Arr)
- findDisallowEntity(Entity Ent)
- findDisallowPlayer(Entity Ent)
- findDisallowPlayer(String Name)
- findDisallowPlayerProps(Entity Ply)
- findDisallowPlayerProps(String Name)
- findDisallowModel(String Model)
- findDisallowClass(String Class)
- findClearBlackList()
- findClearBlackEntityList()
- findClearBlackPlayerPropList()
- findClearBlackModelList()
- findClearBlackClassList()
- findClearWhiteList()
- findClearWhiteEntityList()
- findClearWhitePlayerPropList()
- findClearWhiteModelList()
- findClearWhiteClassList()
- findAllowBlockedClasses(Number Usehardcodedfilter)
- Entity = findResult(Number Index)
- Entity = findClosest(Vector Position)
- Array = findToArray()
- Entity = find()
- Number = findSortByDistance(Vector Position)
- Number = findClipToClass(String Class)
- Number = findClipFromClass(String Class)
- Number = findClipToModel(String Model)
- Number = findClipFromModel(String Model)
- Number = findClipToName(String Name)
- Number = findClipFromName(String Name)
- Number = findClipToSphere(Vector Center, Number Radius)
- Number = findClipFromSphere(Vector Center, Number Radius)
- Number = findClipToRegion(Vector Origin, Vector Perpendicular)
- Number = findClipFromBox(Vector Min, Vector Max)
- Number = findClipToBox(Vector Min, Vector Max)
- Number = findClipFromEntity(Entity Ent)
- Number = findClipFromEntities(Array Entities)
- Number = findClipToEntity(Entity Ent)
- Number = findClipToEntities(Array Entities)
- Number = findClipToPlayerProps(Entity Ply)
- Number = findClipFromPlayerProps(Entity Ply)
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)
findExcludeEntities(
Arr)
Exclude all entities in array from future finds (10 ops)
findExcludePlayer(
Ent)
Exclude specified player from future finds (put it on the entity blacklist) (10 ops)
findExcludeEntity(
Ent)
Exclude entity from future finds (10 ops)
findExcludePlayer(
Name)
Exclude player with specified name from future finds (put it on the entity blacklist) (10 ops)
findExcludePlayerProps(
Ply)
Exclude entities owned by specified player from future finds (10 ops)
findExcludePlayerProps(
Name)
Exclude entities owned by player with specified name from future finds (10 ops)
findExcludeModel(
Model)
Exclude entities with this model (or partial model name) from future finds (10 ops)
findExcludeClass(
Class)
Exclude entities with this class (or partial class name) from future finds (10 ops)
findAllowEntities(
Arr)
Remove all entities in array from the blacklist (10 ops)
findAllowPlayer(
Ent)
Remove specified player from the entity blacklist (10 ops)
findAllowEntity(
Ent)
Remove entity from the blacklist (10 ops)
findAllowPlayer(
Name)
Remove player with specified name from the entity blacklist (10 ops)
findAllowPlayerProps(
Ply)
Remove entities owned by specified player from the blacklist (10 ops)
findAllowPlayerProps(
Name)
Remove entities owned by player with specified name from the blacklist (10 ops)
findAllowModel(
Model)
Remove entities with this model (or partial model name) from the blacklist (10 ops)
findAllowClass(
Class)
Remove entities with this class (or partial class name) from the blacklist (10 ops)
findIncludeEntities(
Arr)
Include all entities in array in future finds, and remove others not in the whitelist (10 ops)
findIncludeEntity(
Ent)
Include entity in future finds, and remove others not in the whitelist (10 ops)
findIncludePlayer(
Ent)
Include specified player in future finds, and remove other entities not in the entity whitelist (10 ops)
findIncludePlayer(
Name)
Include player with specified name in future finds, and remove other entities not in the entity whitelist (10 ops)
findIncludePlayerProps(
Ply)
Include entities owned by specified player in future finds, and remove others not in the whitelist (10 ops)
findIncludePlayerProps(
Name)
Include entities owned by player with specified name in future finds, and remove others not in the whitelist (10 ops)
findIncludeModel(
Model)
Include entities with this model (or partial model name) in future finds, and remove others not in the whitelist (10 ops)
findIncludeClass(
Class)
Include entities with this class (or partial class name) in future finds, and remove others not in the whitelist (10 ops)
findDisallowEntities(
Arr)
Remove all entities in array from the whitelist (10 ops)
findDisallowEntity(
Ent)
Remove entity from the whitelist (10 ops)
findDisallowPlayer(
Ent)
Remove specified player from the entity whitelist (10 ops)
findDisallowPlayer(
Name)
Remove player with specified name from the entity whitelist (10 ops)
findDisallowPlayerProps(
Ply)
Remove entities owned by specified player from the whitelist (10 ops)
findDisallowPlayerProps(
Name)
Remove entities owned by player with specified name from the whitelist (10 ops)
findDisallowModel(
Model)
Remove entities with this model (or partial model name) from the whitelist (10 ops)
findDisallowClass(
Class)
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)
findAllowBlockedClasses(
Usehardcodedfilter)
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)
Expression 2 ⚙️
Getting Started 🕊
- Syntax 🔣
- Directives 🎛️
- Editor 🖥️
- Ops 📊
Guides (In learning order) 🎓
- Learning & Getting Help 📚
- Triggers ⏲️
- Events 🎬
- Find Functions 🔍
- Physics 🚀
- EGP Basics 📈
- Lambdas λ
- Lambda Timers λ⏲️
- Tips & Tricks 📘
Tools 🛠️
Click To Expand
Advanced
- 🟥 SPU
- 🟥 Address Bus
- 🟥 Extended Bus
- 🟥 Plug/Socket
- 🟥 Port
- 🟥 Transfer Bus
- 🟩 GPU
- 🟥 Dynamic Memory
- 🟥 Flash EEPROM
- 🟥 ROM
Beacon 💡
- 🟧 Beacon Sensor
- 🟧 Locator
- 🟧 Target Finder
- 🟧 Waypoint
- 🟥 XYZ Beacon
Control 🎛️
- 🟩 CPU
- 🟩 Expression 2
- 🟩 Gates
- 🟥 PID
Data 💿
- 🟧 CD Disk
- 🟥 CD Ray
- 🟧 DHDD
- 🟥 Keycard
- 🟥 RAM-card
- 🟧 Satellite Dish
- 🟧 Store
- 🟧 Transferer
- 🟥 Wired Wirer
Detection 👀
- 🟧 Adv Entity Marker
- 🟧 Damage Detector
- 🟧 Entity Marker
- 🟧 GPS
- 🟧 Gyroscope
- 🟥 HighSpeed Ranger
- 🟧 Laser Pointer Receiver
- 🟥 Microphone
- 🟧 Ranger
- 🟧 Speedometer
- 🟧 Water Sensor
Display 💻
- 🟧 7 Segment Display
- 🟥 Adv. Hud Indicator
- 🟧 Console Screen
- 🟧 Control Panel
- 🟧 Digital Screen
- 🟧 EGP v3
- 🟧 Fix RenderTargets
- 🟥 GPULib Switcher
- 🟧 Hud Indicator
- 🟧 Indicator
- 🟧 Lamp
- 🟧 Light
- 🟧 Oscilloscope
- 🟧 Pixel
- 🟧 Screen
- 🟧 Sound Emitter
- 🟧 Text Screen
Render 🖌
- 🟩 Cam Controller
- 🟧 Colorer
- 🟧 FX Emitter
- 🟧 HighSpeed Holoemitter
- 🟧 HoloEmitter
- 🟧 HoloGrid
- 🟥 Interactable Holography Emitter
- 🟥 Materializer
- 🟥 Painter
I/O 🔌
- 🟧 Adv. Input
- 🟧 Button
- 🟧 Constant Value
- 🟥 Door Controller
- 🟧 Dual Input
- 🟧 Dynamic Button
- 🟧 Eye Pod
- 🟧 Graphics Tablet
- 🟧 Keyboard
- 🟥 Lever
- 🟧 Numpad
- 🟧 Numpad Input
- 🟧 Numpad Output
- 🟧 Plug
- 🟧 Pod Controller
- 🟧 Radio
- 🟧 Relay
- 🟧 Text Receiver
- 🟧 Two-way Radio
- 🟧 Vehicle Controller
Physics 🚀
- 🟥 Door
- 🟥 Adv. Dupe. Teleporter
- 🟥 Buoyancy
- 🟧 Clutch
- 🟧 Detonator
- 🟧 Explosives
- 🟧 Explosives (Simple)
- 🟥 Forcer
- 🟩 Freezer
- 🟧 Gimbal (Facer)
- 🟧 Grabber
- 🟧 Hoverball
- 🟧 Hoverdrive Controller
- 🟥 Hydraulic
- 🟧 Igniter
- 🟧 Nailer
- 🟩 Prop Spawner
- 🟥 Servo
- 🟥 Simple Servo
- 🟧 Thruster
- 🟥 Touchplate
- 🟥 Trail
- 🟩 Turret
- 🟩 User
- 🟥 Vector Thruster
- 🟥 Vehicle Exit Point
- 🟧 Weight (Adjustable)
- 🟧 Weld/Constraint Latch
- 🟥 Wheel
- 🟥 Wire Magnet
- 🟥 Wired Npc Controller
Utilities 🛠️
- 🟧 Debugger
- 🟥 GUI Wiring
- 🟥 Multi Wire
- 🟧 Namer
- 🟥 Simulate Data
- 🟩 Wiring
RFID 💳
- 🟥 Beam Reader
- 🟥 Implanter
- 🟥 Reader
- 🟥 Target Filter
- 🟥 User Reader
Wireless 🛜
Gates 🚥
Click To Expand
TBD
Extras 🔭
Please do not alter the e2 docs ...
pages manually.
They are autogenerated from the E2Helper. In the future, this will hopefully be its own dedicated website or tool.
Default Extensions
Basic Features: core, debug, number, selfaware,
string, timer
🌎 World: angle, color, find, ranger, sound,
🔣 Math: bitwise, complex, matrix, quaternion, vector, vector2/4
📦 Entities: bone, constraint, egp, entity, hologram, npc
👨 Players: chat, console, player, weapon
📊 Data storage: array, files, globalvars, serialization, table
💬 Communication: datasignal, http, signal, wirelink,
❓ Informational: gametick, serverinfo, steamidconv, unitconv
Additional Extensions
Disabled by default: constraintcore, effects, propcore, remoteupload, wiring
Wire-Extras (repo): camera, ftrace, holoanim, light, stcontrol, tracesystem