Template:I BaseEntityIO: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(The equals symbols in (-1 == infinite, 1 = only once) cause it not to be rendered presumably because of the template. I can't figure out how to make it show through any weird formatting tricks so it just says "equals" which looks stupid but idk how to fix)
 
m (Fix (not for the previously mentioned issue))
Line 7: Line 7:
{{IO|FireUser1|to=FireUser4|Causes this entity's OnUser output to be fired.}}
{{IO|FireUser1|to=FireUser4|Causes this entity's OnUser output to be fired.}}
{{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]]
[[Category:Input Templates]]

Revision as of 14:38, 16 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