Template:I BaseEntityPoint

From Valve Developer Community
Jump to navigation Jump to search

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
BaseEntityPoint:
SetParent <targetname>
Changes the entity's parent in the movement hierarchy.
SetParentAttachment <string>
Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
SetParentAttachmentMaintainOffset <string>
Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the parent at the time it is attached.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.