Skip to content
Denneisk edited this page May 31, 2022 · 5 revisions

Jump to table of contents

Datasignal

dsSend[Direct](SignalName:string, SignalGroup:string, [SignalScope:number], ...)

Number = dsSendDirect(String, Entity, Tracedata)

(10 ops)

Number = dsSendDirect(String, Entity, Matrix4)

(10 ops)

Number = dsSendDirect(String, Entity, WireLink)

(10 ops)

Number = dsSendDirect(String, Entity, Stcontrol)

(10 ops)

Number = dsSendDirect(String, Entity, Vector2)

(10 ops)

Number = dsSendDirect(String, Entity, Effect)

(10 ops)

Number = dsSendDirect(String, Entity, Number)

(10 ops)

Number = dsSendDirect(String, Entity, Bone)

(10 ops)

Number = dsSendDirect(String, Entity, RangerData)

(10 ops)

Number = dsSendDirect(String, Entity, Matrix)

(10 ops)

Number = dsSendDirect(String, Entity, Ftrace)

(10 ops)

Number = dsSendDirect(String, Entity, ComplexNumber)

(10 ops)

Number = dsSendDirect(String, Entity, Matrix4)

(10 ops)

Number = dsSendDirect(String, Entity, Entity)

(10 ops)

Number = dsSendDirect(String, Entity, Angle)

(10 ops)

Number = dsSendDirect(String, Entity, String)

(10 ops)

Number = dsSendDirect(String, Entity, Array)

(10 ops)

Number = dsSendDirect(String, Entity, Quaternion)

(10 ops)

Number = dsSendDirect(String, Entity, Vector4)

(10 ops)

Number = dsSendDirect(String, Entity, Vector)

(10 ops)

Number = dsSendDirect(String, Entity, Table)

(10 ops)

Number = dsSendDirect(String, Array, Bone)

(15 ops)

Number = dsSendDirect(String, Array, Number)

(15 ops)

Number = dsSendDirect(String, Array, Matrix4)

(15 ops)

Number = dsSendDirect(String, Array, Quaternion)

(15 ops)

Number = dsSendDirect(String, Array, Array)

(15 ops)

Number = dsSendDirect(String, Array, Tracedata)

(15 ops)

Number = dsSendDirect(String, Array, Angle)

(15 ops)

Number = dsSendDirect(String, Array, Vector)

(15 ops)

Number = dsSendDirect(String, Array, Matrix)

(15 ops)

Number = dsSendDirect(String, Array, Ftrace)

(15 ops)

Number = dsSendDirect(String, Array, Matrix4)

(15 ops)

Number = dsSendDirect(String, Array, ComplexNumber)

(15 ops)

Number = dsSendDirect(String, Array, Entity)

(15 ops)

Number = dsSendDirect(String, Array, String)

(15 ops)

Number = dsSendDirect(String, Array, WireLink)

(15 ops)

Number = dsSendDirect(String, Array, Vector4)

(15 ops)

Number = dsSendDirect(String, Array, Effect)

(15 ops)

Number = dsSendDirect(String, Array, Vector2)

(15 ops)

Number = dsSendDirect(String, Array, Table)

(15 ops)

Number = dsSendDirect(String, Array, RangerData)

(15 ops)

Number = dsSendDirect(String, Array, Stcontrol)

(15 ops)

Number = dsSend(String, String, Quaternion)

(20 ops)

Number = dsSend(String, String, Effect)

(20 ops)

Number = dsSend(String, String, Table)

(20 ops)

Number = dsSend(String, String, Array)

(20 ops)

Number = dsSend(String, String, ComplexNumber)

(20 ops)

Number = dsSend(String, String, Tracedata)

(20 ops)

Number = dsSend(String, String, Vector2)

(20 ops)

Number = dsSend(String, String, Angle)

(20 ops)

Number = dsSend(String, String, WireLink)

(20 ops)

Number = dsSend(String, String, RangerData)

(20 ops)

Number = dsSend(String, String, Vector4)

(20 ops)

Number = dsSend(String, String, Bone)

(20 ops)

Number = dsSend(String, String, Stcontrol)

(20 ops)

Number = dsSend(String, String, Ftrace)

(20 ops)

Number = dsSend(String, String, Matrix4)

(20 ops)

Number = dsSend(String, String, Number)

(20 ops)

Number = dsSend(String, String, String)

(20 ops)

Number = dsSend(String, String, Matrix4)

(20 ops)

Number = dsSend(String, String, Matrix)

(20 ops)

Number = dsSend(String, String, Entity)

(20 ops)

Number = dsSend(String, String, Vector)

(20 ops)

Number = dsSend(String, String, Number, Entity)

(20 ops)

Number = dsSend(String, String, Number, ComplexNumber)

(20 ops)

Number = dsSend(String, String, Number, Tracedata)

(20 ops)

Number = dsSend(String, String, Number, Number)

(20 ops)

Number = dsSend(String, String, Number, Stcontrol)

(20 ops)

Number = dsSend(String, String, Number, Vector2)

(20 ops)

Number = dsSend(String, String, Number, Table)

(20 ops)

Number = dsSend(String, String, Number, String)

(20 ops)

Number = dsSend(String, String, Number, RangerData)

(20 ops)

Number = dsSend(String, String, Number, Matrix4)

(20 ops)

Number = dsSend(String, String, Number, Effect)

(20 ops)

Number = dsSend(String, String, Number, Matrix4)

(20 ops)

Number = dsSend(String, String, Number, Ftrace)

(20 ops)

Number = dsSend(String, String, Number, Quaternion)

(20 ops)

Number = dsSend(String, String, Number, WireLink)

(20 ops)

Number = dsSend(String, String, Number, Angle)

(20 ops)

Number = dsSend(String, String, Number, Matrix)

(20 ops)

Number = dsSend(String, String, Number, Vector4)

(20 ops)

Number = dsSend(String, String, Number, Bone)

(20 ops)

Number = dsSend(String, String, Number, Vector)

(20 ops)

Number = dsSend(String, String, Number, Array)

(20 ops)

Matrix4 = dsGetMatrix4()

Returns the received matrix4 (5 ops)

Matrix4 = dsGetMatrix2()

Returns the received matrix2 (5 ops)

Vector4 = dsGetVector4()

Returns the received vector4 (5 ops)

String = dsGetString()

Returns the received string (5 ops)

Vector = dsGetVector()

Returns the received vector (5 ops)

Number = dsGetNumber()

Returns the received number (5 ops)

Ftrace = dsGetFtrace()

Returns the received ftrace (5 ops)

WireLink = dsGetWirelink()

Returns the received wirelink (5 ops)

Entity = dsGetEntity()

Returns the received entity (5 ops)

Bone = dsGetBone()

Returns the received bone (5 ops)

RangerData = dsGetRanger()

Returns the received ranger (5 ops)

Table = dsGetTable()

Returns the received table (5 ops)

ComplexNumber = dsGetComplex()

Returns the received complex (5 ops)

Matrix = dsGetMatrix()

Returns the received matrix (5 ops)

Vector2 = dsGetVector2()

Returns the received vector2 (5 ops)

Stcontrol = dsGetStcontrol()

Returns the received stcontrol (5 ops)

Quaternion = dsGetQuaternion()

Returns the received quaternion (5 ops)

Angle = dsGetAngle()

Returns the received angle (5 ops)

Tracedata = dsGetTracedata()

Returns the received tracedata (5 ops)

Effect = dsGetEffect()

Returns the received effect (5 ops)

Array = dsGetArray()

Returns the received array (5 ops)

dsClearGroups()

Leave all groups (10 ops)

dsJoinGroup(String Groupname)

Join the group to receive signals from it (10 ops)

dsLeaveGroup(String Groupname)

Leave the group to stop receiving signals from it (10 ops)

Array = dsGetGroups()

Returns an array of the groups the E2 is in (5 ops)

dsSetScope(Number Scope)

Sets the scope of the E2. Setting the scope determines which signals the E2 can receive. Range is 0 to 2. 0 sends only to the owner's E2, 1 sends to owner's and prop protection buddy's E2, 2 sends to everyone. (5 ops)

Number = dsGetScope()

Returns the scope the E2 is currently in (5 ops)

Number = dsClk()

Returns 1 if the current execution was caused by a datasignal (1 ops)

Number = dsClk(String Name)

Returns 1 if the current execution was caused by a datasignal with the specified signal name (1 ops)

String = dsClkName()

Returns the name of the signal (1 ops)

String = dsGetType()

Returns the type of the received data (1 ops)

Entity = dsGetSender()

Returns the entity of the E2 which sent the signal (1 ops)

String = dsGetGroup()

Get the name of the group the signal was sent to (1 ops)

Number = dsGetHash()

Returns the hash of sending E2 (1 ops)

Array = dsProbe(String Groupname)

(20 ops)

Array = dsProbe(String Groupname, Number Scope)

(20 ops)

Expression 2 ⚛️

Tutorials (In learning order) 🎓

Extras ❔

Tools 🛠️

Click To Expand

Advanced

Beacon 💡

Control 🎛️

Data 💿

Detection 👀

Display 💻

Render

I/O 🔌

Physics 🚀

Utilities 🛠️

RFID

Wireless 🛜

Gates 🚥

Click To Expand

TBD

Clone this wiki locally