e2 docs selfaware - wiremod/wire GitHub Wiki
Selfaware
= entity()
Gets the entity of the expression (1 ops)
= owner()
Gets the owner of the expression ( same as entity():owner() ) (1 ops)
selfDestruct()
Removes the expression (5 ops)
selfDestructAll()
Removes the expression and all constrained props (5 ops)
= ioOutputEntities(
Output)
Returns an array of all entities wired to the output S (10 ops)
= ioInputEntity(
Input)
Returns the entity the input S is wired to (10 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the angle value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the vector4 value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the vector2 value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the array value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the matrix2 value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the vector value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the quaternion value (5 ops)
, Ftrace)
Ftrace = ioSetOutput(Trigger the output S of the E2 with the ftrace value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the complex value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the number value (5 ops)
, Tracedata)
Tracedata = ioSetOutput(Trigger the output S of the E2 with the tracedata value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the ranger value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the table value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the entity value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the matrix value (5 ops)
, Effect)
Effect = ioSetOutput(Trigger the output S of the E2 with the effect value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the wirelink value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the string value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the matrix4 value (5 ops)
, Stcontrol)
Stcontrol = ioSetOutput(Trigger the output S of the E2 with the stcontrol value (5 ops)
= ioSetOutput(
,
)
Trigger the output S of the E2 with the bone value (5 ops)
= ioGetInputBone(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputAngle(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputArray(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputEntity(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputQuaternion(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputVector2(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputMatrix(
)
Get the value of the input S of the E2 (5 ops)
)
Tracedata = ioGetInputTracedata(Get the value of the input S of the E2 (5 ops)
)
Stcontrol = ioGetInputStcontrol(Get the value of the input S of the E2 (5 ops)
= ioGetInputRanger(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputString(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputComplex(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputMatrix2(
)
Get the value of the input S of the E2 (5 ops)
)
Ftrace = ioGetInputFtrace(Get the value of the input S of the E2 (5 ops)
= ioGetInputMatrix4(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputWirelink(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputNumber(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputTable(
)
Get the value of the input S of the E2 (5 ops)
= ioGetInputVector4(
)
Get the value of the input S of the E2 (5 ops)
)
Effect = ioGetInputEffect(Get the value of the input S of the E2 (5 ops)
= ioGetInputVector(
)
Get the value of the input S of the E2 (5 ops)
Name)
setName(Set the name of the E2 (5 ops)
:setName(
Name)
Set the name of another E2 or component name for other entities (5 ops)
=
:getName()
Get the name of another E2, compatible entity or wiremod component name (5 ops)
= changed(
Value)
(1 ops)
= changed(
)
(5 ops)
= changed(
)
(5 ops)
= changed(
)
(5 ops)
= changed(
)
(5 ops)
= changed(
Value)
(1 ops)
= changed(
Value)
(1 ops)
= changed(Stcontrol)
(5 ops)
= changed(
)
(5 ops)
= changed(
)
(5 ops)
= changed(
)
(5 ops)
= changed(
)
(5 ops)
= changed(
)
(5 ops)
= changed(Ftrace)
(5 ops)
= changed(
)
(5 ops)
= changed(
)
(5 ops)
= changed(Tracedata)
(5 ops)
= changed(
)
(5 ops)
= changed(Effect)
(5 ops)
= changed(Gtable)
(5 ops)
= hash()
Returns a numerical hash using the code of the E2 itself (Including comments) (5 ops)
= hashNoComments()
Returns a numerical hash using the code of the E2 itself (Excluding comments) (5 ops)
= hash(
Str)
Returns a numerical hash using the string specified (5 ops)