Table of Contents
- Signal
- signalSetGroup(String Group)
- String = signalGetGroup()
- runOnSignal(String Name, Number Scope, Number Activate)
- Number = signalClk()
- Number = signalClk(String Name)
- Number = signalClk(String Name, Number Scope)
- Number = signalClk(String Group, String Name)
- Number = signalClk(String Group, String Name, Number Scope)
- String = signalName()
- String = signalGroup()
- Entity = signalSender()
- Number = signalSenderId()
- signalSetOnRemove(String Name, Number Scope)
- signalClearOnRemove()
- signalSend(String Name, Number Scope)
- signalSendDirect(String Name, Entity Receiver)
- signalSendToPlayer(String Name, Entity Player)
Signal
signalSetGroup(
Group)
Sets the E-2's current signal group to S, this is applied during runOnSignal, signalSend, and signalSetOnRemove calls, so call it first (5 ops)
= signalGetGroup()
Gets the E-2's current signal group (5 ops)
runOnSignal(
Name,
Scope,
Activate)
If N2 == 0 the chip will no longer run on this signal, otherwise it makes this chip execute when signal S is sent by someone in scope N (5 ops)
= signalClk()
Returns 1 if the chip was executed because of any signal, regardless of name, group or scope. Returns 0 otherwise (1 ops)
= signalClk(
Name)
Returns 1 if the chip was executed because the signal S was sent, regardless of group or scope. Returns 0 otherwise (1 ops)
= signalClk(
Name,
Scope)
Returns 1 if the chip was executed because the signal S was sent to the scope N, regardless of group. Returns 0 otherwise (1 ops)
= signalClk(
Group,
Name)
Returns 1 if the chip was executed because the signal S2 was sent in the group S, regardless of scope. Returns 0 otherwise (1 ops)
= signalClk(
Group,
Name,
Scope)
Returns 1 if the chip was executed because the signal S2 was sent in the group S to the scope N. Returns 0 otherwise (1 ops)
= signalName()
Returns the name of the received signal (4 ops)
= signalGroup()
Returns the group name of the received signal (4 ops)
= signalSender()
Returns the entity of the chip that sent the signal (4 ops)
= signalSenderId()
Returns the entity ID of the chip that sent the signal. Useful if the entity doesn't exist anymore (4 ops)
signalSetOnRemove(
Name,
Scope)
Sets the signal that the chip sends when it is removed from the world (10 ops)
signalClearOnRemove()
Clears the signal that the chip sends when it is removed from the world (10 ops)
signalSend(
Name,
Scope)
Sends signal S to scope N. Additional calls to this function with the same signal will overwrite the old call until the signal is issued (20 ops)
signalSendDirect(
Name,
Receiver)
Sends signal S to the given chip. Multiple calls for different chips do not overwrite each other (10 ops)
signalSendToPlayer(
Name,
Player)
Sends signal S to chips owned by the given player, multiple calls for different players do not overwrite each other (20 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