-
Notifications
You must be signed in to change notification settings - Fork 334
e2 docs egpfunctions
Saves the frame under specified name (15 ops)
Saves the frame under specified index (15 ops)
Loads the frame with specified name (15 ops)
Loads the frame with specified index (15 ops)
Sets the order at which the object will be rendered (15 ops)
Returns the order at which the object is rendered (15 ops)
(15 ops)
(15 ops)
Creates a box. First 2D vector is the position, second is size (15 ops)
Creates an outline box. First 2D vector is the position, second is size (15 ops)
Creates a rounded box. First 2D vector is the position, second is size (15 ops)
Changes the corner radius of the rounded box object (15 ops)
Creates a rounded outline box. First 2D vector is the position, second is size (15 ops)
Creates a text object (15 ops)
Creates a text layout object (15 ops)
Changes the text of the text object (10 ops)
Changes the horizontal alignment. Works on: text and text layout. Number can be 0, 1 or 2 (10 ops)
Changes the horizontal and vertical alignment. Works on: text and text layout. Numbers can be 0, 1 or 2 (10 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) (10 ops)
Changes the texture filter used to draw all EGP Objects. Works only on EGP Screens. See _TEXFILTER constants (POINT=sharp, ANISOTROPIC=blurry/default) (10 ops)
Changes the font of the text object (10 ops)
Changes the font and size of the text object (10 ops)
Creates a polygon with specified points as 2D/4D vectors (x,y)/(x,y,u,v) (20 ops)
Creates a polygon with specified points as array of 2D/4D vectors (x,y)/(x,y,u,v) (20 ops)
Creates a outline polygon with specified points as 2D/4D vectors (x,y)/(x,y,u,v) (20 ops)
Creates a outline polygon with specified points as array of 2D/4D vectors (x,y)/(x,y,u,v) (20 ops)
(20 ops)
Creates a curve with specified points as 2D/4D vectors (x,y)/(x,y,u,v) (20 ops)
Creates a curve with specified points as array of 2D/4D vectors (x,y)/(x,y,u,v) (20 ops)
Creates a line. First 2D vector is the start position, second is end position (15 ops)
Creates a circle. First 2D vector is the position, second is size (15 ops)
Creates an outline circle. First 2D vector is the position, second is size (15 ops)
Creates a triangle with specified vertices (15 ops)
Creates a outline triangle with specified vertices (15 ops)
Creates a wedge object. Wedge objects are like circles, except they have a cake-piece-like mouth which you can change using egpSize (15 ops)
Creates a outline wedge object. Wedge objects are like circles, except they have a cake-piece-like mouth which you can change using egpSize (15 ops)
Creates a 3D tracker object at specified world position (15 ops)
Creates a 3D tracker object at specified world position that is only visible behind (directionality=-1), in front of (directionality=1) the screen/emitter, or both (directionality=0). HUD is unaffected by directionality. (15 ops)
Changes the world position of the 3D tracker object (10 ops)
Changes the size of the object (10 ops)
Changes the size of the text/line/outline object (10 ops)
Changes the position of the object (10 ops)
Changes the angle of the object (10 ops)
Rotates the object around the first vec2 with the second vec2 as offset at angle N (10 ops)
Changes the color and alpha of the object (10 ops)
Changes the color of the object (10 ops)
Changes the color and alpha of the object (10 ops)
Changes the alpha (transparency) of an object (10 ops)
Changes the material of the object (10 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 (10 ops)
Changes the fidelity of the object (the number of vertices the circle will use) (10 ops)
Returns the fidelity of the object (10 ops)
Parents the object to another object. Parented objects' positions are local to their parent (10 ops)
Parents the 3D tracker object to an entity (10 ops)
Returns the parent entity of the 3D tracker object (10 ops)
Parents the object to player's cursor (10 ops)
Un-parents the object (10 ops)
Returns the index of the parent object (10 ops)
Clears the EGP screen (10 ops)
Removes the object from the screen (10 ops)
Returns the position of the object (5 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 the size of the object (5 ops)
Returns the size of the text/line/outline object (5 ops)
Returns the color of the object as 4D vector (including alpha) (5 ops)
Returns the color of the object as 3D vector (5 ops)
Returns the alpha of the object (5 ops)
Returns the angle of the object (5 ops)
Returns the material of the object (5 ops)
Returns the corcner radius of the rounded box object (5 ops)
Returns an array of the vertices of the object (10 ops)
Returns an array containing all object indexes being used (1 ops)
Returns an array whose keys are bound to object index, and value being the type of particular object (1 ops)
Returns the type of the object with specified index (10 ops)
Copies the settings of the second object into the first. If the first object does not exist, it's created (15 ops)
Returns the specified player's aim position on the screen (20 ops)
Returns the player's screen resolution size (10 ops)
Returns the player's screen resolution width (10 ops)
Returns the player's screen resolution height (10 ops)
Returns 1 if the object with specified index exists on the screen, 0 if not (15 ops)
Returns 1 if the object with specified index contains the specified point (15 ops)
Sets the scale of the screen's X axis to the first vector and Y axis to the second vector (10 ops)
Sets the scale of the screen such that the top left corner is equal to the first vector and the bottom right corner is equal to the second vector (10 ops)
(10 ops)
(10 ops)
Set to 1 to make boxes, outline boxes, rounded boxes, and rounded outline boxes draw from the top left corner instead of from the center (10 ops)
Converts a 2D vector on the screen or emitter into a 3D vector in the world (20 ops)
Toggles the HUD on/off (25 ops)
Returns the number of objects on the screen (10 ops)
Returns the maximum amount of objects you can have (10 ops)
Returns the maximum number of usermessages you can send per second (10 ops)
(10 ops)
Returns 1 if you can send an usermessage at the moment, 0 otherwise (5 ops)
Clears your entire queue (5 ops)
Returns the number of items in your queue (10 ops)
Set to 1 if you want your E2 to be triggered once the queue has finished sending all items in the queue for the screen (10 ops)
Returns 1 if the current execution was caused by the EGP queue system (10 ops)
Returns 1 if the current execution was caused by the EGP queue system of specified screen (10 ops)
Returns 1 if the current execution was caused by the EGP queue system of specified screen (10 ops)
Returns the screen entity which the queue finished sending items for (10 ops)
Returns the screen wirelink which the queue finished sending items for (10 ops)
Returns the player which ordered the items to be sent (10 ops)
Returns 1 if the current execution was caused by the EGP queue system, and the player E was the player who ordered the items to be sent (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
- Home 🏠
- Syntax 🔣
- Directives 🎛️
- Editor 🖥️
- Events 🌟 (new!)
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