EF PARENT ANIMATES: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (note)
Line 5: Line 5:


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.}}
[[Category:Constants]]
[[Category:Constants]]

Revision as of 10:54, 24 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.