Table of Contents
- Complex
- ComplexNumber = comp()
- ComplexNumber = comp(Number A)
- ComplexNumber = comp(Number A, Number B)
- ComplexNumber = i()
- ComplexNumber = i(Number B)
- Number = abs(ComplexNumber Z)
- Number = arg(ComplexNumber Z)
- ComplexNumber = conj(ComplexNumber Z)
- Number = real(ComplexNumber Z)
- Number = imag(ComplexNumber Z)
- ComplexNumber = exp(ComplexNumber Z)
- ComplexNumber = log(ComplexNumber Z)
- ComplexNumber = log(ComplexNumber Base, ComplexNumber Z)
- ComplexNumber = log(Number Base, ComplexNumber Z)
- ComplexNumber = log2(ComplexNumber Z)
- ComplexNumber = log10(ComplexNumber Z)
- ComplexNumber = sqrt(ComplexNumber Z)
- ComplexNumber = csqrt(Number N)
- ComplexNumber = sin(ComplexNumber Z)
- ComplexNumber = cos(ComplexNumber Z)
- ComplexNumber = sinh(ComplexNumber Z)
- ComplexNumber = cosh(ComplexNumber Z)
- ComplexNumber = tan(ComplexNumber Z)
- ComplexNumber = cot(ComplexNumber Z)
- ComplexNumber = asin(ComplexNumber Z)
- ComplexNumber = acos(ComplexNumber Z)
- ComplexNumber = atan(ComplexNumber Z)
- Number = atan2(ComplexNumber Z)
- ComplexNumber = tanh(ComplexNumber Z)
- ComplexNumber = coth(ComplexNumber Z)
- ComplexNumber = sec(ComplexNumber Z)
- ComplexNumber = csc(ComplexNumber Z)
- ComplexNumber = sech(ComplexNumber Z)
- ComplexNumber = csch(ComplexNumber Z)
- String = toString(ComplexNumber Z)
- String = ComplexNumber:toString()
Complex
= comp()
Returns complex zero (2 ops)
= comp(
A)
Converts a real number to complex (returns complex number with real part N and imaginary part 0) (2 ops)
= comp(
A,
B)
Returns a + b*i (2 ops)
= i()
Returns the imaginary unit i (2 ops)
= i(
B)
Returns N*i (2 ops)
= abs(
Z)
Returns the absolute value of C (2 ops)
= arg(
Z)
Returns the argument of C (2 ops)
= conj(
Z)
Returns the conjugate of C (2 ops)
= real(
Z)
Returns the real part of C (2 ops)
= imag(
Z)
Returns the imaginary part of C (2 ops)
= exp(
Z)
Raises Euler's constant e to the power of C (2 ops)
= log(
Z)
Calculates the natural logarithm of C (2 ops)
= log(
Base,
Z)
Calculates the logarithm of C2 to a complex base C (2 ops)
= log(
Base,
Z)
Calculates the logarithm of C to a real base N (2 ops)
= log2(
Z)
Calculates the logarithm of C to base 2 (2 ops)
= log10(
Z)
Calculates the logarithm of C to base 10 (2 ops)
= sqrt(
Z)
Calculates the square root of C (2 ops)
= csqrt(
N)
Calculates the complex square root of the real number N (2 ops)
= sin(
Z)
Calculates the sine of C (3 ops)
= cos(
Z)
Calculates the cosine of C (3 ops)
= sinh(
Z)
Calculates the hyperbolic sine of C (3 ops)
= cosh(
Z)
Calculates the hyperbolic cosine of C (3 ops)
= tan(
Z)
Calculates the tangent of C (3 ops)
= cot(
Z)
Calculates the cotangent of C (3 ops)
= asin(
Z)
Calculates the inverse sine of C (5 ops)
= acos(
Z)
Calculates the inverse cosine of C (5 ops)
= atan(
Z)
Calculates the inverse tangent of C (5 ops)
= atan2(
Z)
Calculates the principle value of C (2 ops)
= tanh(
Z)
Calculates the hyperbolic tangent of C (4 ops)
= coth(
Z)
Calculates the hyperbolic cotangent of C (4 ops)
= sec(
Z)
Calculates the secant of C (3 ops)
= csc(
Z)
Calculates the cosecant of C (3 ops)
= sech(
Z)
Calculates the hyperbolic secant of C (3 ops)
= csch(
Z)
Calculates the hyperbolic cosecant of C (3 ops)
= toString(
Z)
Formats C as a string (15 ops)
=
:toString()
The same as toString(C) (15 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