EF PARENT ANIMATES: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (note)
m (updated link)
Line 6: Line 6:
To use this effect, including EF_BONEMERGE, turn off SmartEdit mode and add the following keyvalue pair to the entity: <code>effects 513</code>.
To use this effect, including EF_BONEMERGE, turn off SmartEdit mode and add the following keyvalue pair to the entity: <code>effects 513</code>.


{{note|If it is desired to use this with other [[effects]], you should add the integer value of each effect to the value.}}
{{note|If it is desired to use this with other [[effects enum|effects]], you should add the integer value of each effect to the value.}}
[[Category:Constants]]
[[Category:Constants]]

Revision as of 17:29, 28 September 2006

Template:Wrongtitle EF_PARENT_ANIMATES is defined as 0x200, or 512.

This effect should be used with EF_BONEMERGE to make an entity realign to its parent every frame.

To use this effect, including EF_BONEMERGE, turn off SmartEdit mode and add the following keyvalue pair to the entity: effects 513.

Note.pngNote:If it is desired to use this with other effects, you should add the integer value of each effect to the value.