Entity Data
CEntityInstance
entity datadesigner name: root
Inputs (19)
FireOutput(cstring, hscript, hscript, variant, float) -> void
raw: ScriptFireOutput
Fire an entity output
RemoveSelf() -> void
raw: RemoveSelf
Delete this entity
GetIntAttr(cstring) -> int
raw: GetIntAttr
Get Integer Attribute
SetIntAttr(cstring, int) -> void
raw: SetIntAttr
Set Integer Attribute
GetName() -> cstring
raw: GetEntityNameAsCStr
Get the entity name
GetDebugName() -> cstring
raw: GetDebugName
Get the entity name w/help if not defined (i.e. classname/etc)
ConnectOutput(cstring, cstring) -> void
raw: ConnectOutputToScriptSelf
Adds an I/O connection that will call the named function on this entity when the specified output fires.
RedirectOutput(cstring, cstring, hscript) -> void
raw: ConnectOutputToScript
Adds an I/O connection that will call the named function on the passed entity when the specified output fires.
DisconnectOutput(cstring, cstring) -> void
raw: DisconnectOutputFromScriptSelf
Removes a connected script function from an I/O event on this entity.
DisconnectRedirectedOutput(cstring, cstring, hscript) -> void
raw: DisconnectOutputFromScript
Removes a connected script function from an I/O event on the passed entity.
GetEntityIndex() -> int
raw: ScriptGetEntityIndex
entindex() -> int
raw: ScriptGetEntityIndex
GetClassname() -> cstring
raw: GetClassNameAsCStr
GetEntityHandle() -> ehandle
raw: ScriptGetEHandle
Get the entity as an EHANDLE
Destroy() -> void
raw: RemoveSelf
GetPublicScriptScope() -> hscript
raw: ScriptGetPublicScriptScope
Retrieve the public script-side data associated with an entity
GetOrCreatePublicScriptScope() -> hscript
raw: ScriptGetOrCreatePublicScriptScope
Retrieve, creating if necessary, the public script-side data associated with an entity
GetPrivateScriptScope() -> hscript
raw: ScriptGetPrivateScriptScope
Retrieve the private per-instance script-side data associated with an entity
GetOrCreatePrivateScriptScope() -> hscript
raw: ScriptGetOrCreatePrivateScriptScope
Retrieve, creating if necessary, the private per-instance script-side data associated with an entity