# CEntityInstance
No Description Set
Function | Description | Client |
---|---|---|
void ConnectOutput(string_1, string_2) | Adds an I/O connection that will call the named function on this entity when the specified output fires. | ✔️ |
void Destroy() | ✔️ | |
void DisconnectOutput(string_1, string_2) | Removes a connected script function from an I/O event on this entity. | ✔️ |
void DisconnectRedirectedOutput(string_1, string_2, handle_3) | Removes a connected script function from an I/O event on the passed entity. | ✔️ |
void FireOutput(string_1, handle_2, handle_3, table_4, float_5) | Fire an entity output | ✔️ |
string GetClassname() | ✔️ | |
string GetDebugName() | Get the entity name w/help if not defined (i.e. classname/etc) | ✔️ |
ehandle GetEntityHandle() | Get the entity as an EHANDLE | ✔️ |
int GetEntityIndex() | ✔️ | |
int GetIntAttr(string_1) | Get Integer Attribute | ✔️ |
string GetName() | ✔️ | |
handle GetOrCreatePrivateScriptScope() | Retrieve, creating if necessary, the private per-instance script-side data associated with an entity | ✔️ |
handle GetOrCreatePublicScriptScope() | Retrieve, creating if necessary, the public script-side data associated with an entity | ✔️ |
handle GetPrivateScriptScope() | Retrieve the private per-instance script-side data associated with an entity | ✔️ |
handle GetPublicScriptScope() | Retrieve the public script-side data associated with an entity | ✔️ |
void RedirectOutput(string_1, string_2, handle_3) | Adds an I/O connection that will call the named function on the passed entity when the specified output fires. | ✔️ |
void RemoveSelf() | Delete this entity | ✔️ |
void SetIntAttr(string_1, int_2) | Set Integer Attribute | ✔️ |
int entindex() | ✔️ |