-
Notifications
You must be signed in to change notification settings - Fork 340
e2 docs egpobjects
Modifies an object with the provided arguments. (10 ops)
Sets the order at which the object will be rendered. This is different from index (15 ops)
Returns the order at which the object is rendered (15 ops)
Makes the object render above the object (15 ops)
Makes the object render below the object (15 ops)
Changes the text of the text object (7 ops)
Changes the text, font, and text size of the text object (7 ops)
Changes the horizontal alignment. Works on: text and text layout. Number can be 0, 1 or 2 (7 ops)
Changes the horizontal and vertical alignment. Works on: text and text layout. Numbers can be 0, 1 or 2 (7 ops)
Changes the texture filter used to draw the object. Works on objects that draw a material. See _TEXFILTER constants (POINT=sharp, ANISOTROPIC=blurry/default) (7 ops)
Changes the font of the text object (7 ops)
Changes the font and size of the text object (7 ops)
Changes the world position of the 3D tracker object (10 ops)
Changes the width and height of an object (7 ops)
Changes the width and height of an object (7 ops)
Changes the size of the text/line/outline object (7 ops)
Changes the position of the object (7 ops)
Changes the position of the object (7 ops)
Changes the position of the start and end of a line object, otherwise acts normally. (7 ops)
Changes the angle of the object (7 ops)
Changes the position and angle of the object (7 ops)
Rotates the object around the first vec2 with the second vec2 as offset at angle N (7 ops)
(7 ops)
(7 ops)
Changes the color and alpha of the object (7 ops)
Changes the color of the object (7 ops)
Changes the color and alpha of the object (7 ops)
Changes the alpha (transparency) of an object (7 ops)
Changes the material of the object (7 ops)
Sets the material of the object to a current snapshot of the target screen. Note that this only works for players which see both the egp as well the target screen at that time (7 ops)
Changes the fidelity of the object (the number of vertices the circle will use) (7 ops)
Returns the fidelity of the object (7 ops)
Parents the object to another object. Parented objects' positions are local to their parent (7 ops)
Parents the object to another object. Parented objects' positions are local to their parent (7 ops)
Parents the object to another object. Parented objects' positions are local to their parent (7 ops)
Parents the 3D tracker object to an entity (7 ops)
Returns the parent entity of the 3D tracker object. (7 ops)
Parents the object to player's cursor (7 ops)
Un-parents the object (7 ops)
Returns the index of the parent object (7 ops)
Returns the parent object (7 ops)
(7 ops)
Removes the object from the screen (7 ops)
Shows a hidden EGP object. (7 ops)
Removes an object from the screen but keeps its data intact. (7 ops)
Returns 1 if the object is visible. (7 ops)
Returns the "global" (= it takes the parents' positions into consideration) position as a 3D vector. X and Y being the 2D X,Y coordinates, while Z is the angle (20 ops)
Returns an array of 2D vectors with the "global" positions of the vertices in the object (20 ops)
Returns 1 if the object exists on the screen, 0 if not (20 ops)
Returns the position of the object (3 ops)
Returns the position (x, y) and angle (z) of the object (3 ops)
Returns the size of the object (3 ops)
Returns the size of the text/line/outline object (3 ops)
Returns the color of the object as a vector4 (3 ops)
Returns the color of the object as a vector (3 ops)
Returns the alpha of the object (3 ops)
Returns the angle of the object (3 ops)
Returns the material of the object. Note this does not return anything when using a GPU material (3 ops)
Returns the radius of the object (3 ops)
Returns an array of the vertices of the object (10 ops)
Returns the type of the object (4 ops)
(15 ops)
Copies the settings of the second object into the first. If the first object does not exist, it's created (15 ops)
Returns 1 if the object contains the specified point (10 ops)
Returns the EGPObject at the index (5 ops)
(1 ops)
Returns a string representation of the EGPObject (1 ops)
Returns a string representation of the EGPObject (1 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
(10 ops)
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.
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
Disabled by default: constraintcore, effects, propcore, remoteupload, wiring
Wire-Extras (repo): camera, ftrace, holoanim, light, stcontrol, tracesystem
Expression 2 ⚙️
- Syntax 🔣
- Directives 🎛️
- Editor 🖥️
- Ops 📊
- Learning & Getting Help 📚
- Triggers ⏲️
- Events 🎬
- Find Functions 🔍
- Physics 🚀
- EGP Basics 📈
- Lambdas λ
- Lambda Timers λ⏲️
- Tips & Tricks 📘
Click To Expand
- 🟥 SPU
- 🟥 Address Bus
- 🟥 Extended Bus
- 🟥 Plug/Socket
- 🟥 Port
- 🟥 Transfer Bus
- 🟩 GPU
- 🟥 Dynamic Memory
- 🟥 Flash EEPROM
- 🟥 ROM
- 🟧 Beacon Sensor
- 🟧 Locator
- 🟧 Target Finder
- 🟧 Waypoint
- 🟥 XYZ Beacon
- 🟩 CPU
- 🟩 Expression 2
- 🟩 Gates
- 🟥 PID
- 🟧 CD Disk
- 🟥 CD Ray
- 🟧 DHDD
- 🟥 Keycard
- 🟥 RAM-card
- 🟧 Satellite Dish
- 🟧 Store
- 🟧 Transferer
- 🟥 Wired Wirer
- 🟧 Adv Entity Marker
- 🟧 Damage Detector
- 🟧 Entity Marker
- 🟧 GPS
- 🟧 Gyroscope
- 🟥 HighSpeed Ranger
- 🟧 Laser Pointer Receiver
- 🟥 Microphone
- 🟧 Ranger
- 🟧 Speedometer
- 🟧 Water Sensor
- 🟧 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
- 🟩 Cam Controller
- 🟧 Colorer
- 🟧 FX Emitter
- 🟧 HighSpeed Holoemitter
- 🟧 HoloEmitter
- 🟧 HoloGrid
- 🟥 Interactable Holography Emitter
- 🟥 Materializer
- 🟥 Painter
- 🟧 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
- 🟥 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
- 🟧 Debugger
- 🟥 GUI Wiring
- 🟥 Multi Wire
- 🟧 Namer
- 🟥 Simulate Data
- 🟩 Wiring
- 🟥 Beam Reader
- 🟥 Implanter
- 🟥 Reader
- 🟥 Target Filter
- 🟥 User Reader
Gates 🚥
Click To Expand
TBD