Prop dynamic ornament: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(bot-assisted)
 
m (→‎Inputs: Fixed inputs)
Line 25: Line 25:
==Inputs==
==Inputs==
*{{i prop_dynamic_base}}
*{{i prop_dynamic_base}}
*'''SetAttached <string>'''
*'''SetAttached <target_destination>'''
:Attach the ornament to a different entity. Parameter should be the name of entity to attach to.
:Attach the ornament to a different entity. Parameter should be the name of entity to attach to.
*'''Detach <string>'''
*'''Detach'''
:Detach from the Target Entity and become invisible. The ornament can be re-attached with the SetAttached input.
:Detach from the Target Entity and become invisible. The ornament can be re-attached with the SetAttached input.



Revision as of 17:08, 6 April 2006

Template:Wrongtitle

Entity Description

A way to attach one studio model to another as an ornament. It will render in the way that player/NPC weapons render.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<choices> Collisions.
Literal value Description
0 Not Solid
  • InitialOwner
<string> Name of the entity that this ornament should attach to, at startup.

Flags

Inputs

Attach the ornament to a different entity. Parameter should be the name of entity to attach to.
  • Detach
Detach from the Target Entity and become invisible. The ornament can be re-attached with the SetAttached input.

Outputs