Template:I BaseEntityIO: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (sort)
m (Formatting tricks)
Line 1: Line 1:
This is a Baseclass that is available in {{teamspen|4}}
This is a Baseclass that is available in {{teamspen|4}}
<onlyinclude>
<onlyinclude>{{ScrollBox|title=BaseEntityIO|
{{ScrollBox|title=BaseEntityIO|
{{IO|Kill|Removes this entity from the world.}}
{{IO|Kill|Removes this entity from the world.}}
{{IO|KillHierarchy|Removes this entity and all its children from the world.}}
{{IO|KillHierarchy|Removes this entity and all its children from the world.}}
Line 8: Line 7:
{{IO|Use|Same as a player invoking +use; may not do anything. Can also be invoked by creating an output that does not specify an input.}}
{{IO|Use|Same as a player invoking +use; may not do anything. Can also be invoked by creating an output that does not specify an input.}}
{{IO|DispatchEffect|param=string|Dispatch an effect from the entity's origin. See [[List_of_Client_Effects|List of Client Effects]]}}
{{IO|DispatchEffect|param=string|Dispatch an effect from the entity's origin. See [[List_of_Client_Effects|List of Client Effects]]}}
}}
}}</onlyinclude>
</onlyinclude>
[[Category:Input Templates|BaseEntityIO]]
[[Category:Input Templates|BaseEntityIO]]

Revision as of 09:32, 19 December 2023

This is a Baseclass that is available in TeamSpen's Hammer Addons TeamSpen's Hammer Addons

BaseEntityIO:
Kill
Removes this entity from the world.
KillHierarchy
Removes this entity and all its children from the world.
AddOutput <string>
Adds an entity I/O connection to this entity or changes keyvalues dynamically. Format:\n'<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 equals infinite, 1 equals only once)'\nor 'keyvalue newval'. Very dangerous, use with care.
FireUser1 to FireUser4
Causes this entity's OnUser output to be fired.
Use
Same as a player invoking +use; may not do anything. Can also be invoked by creating an output that does not specify an input.
DispatchEffect <string>
Dispatch an effect from the entity's origin. See List of Client Effects