Template:Effect

From Valve Developer Community
Revision as of 17:38, 28 September 2006 by Ts2do (talk | contribs)
Jump to navigation Jump to search

To use this effect, {{{2}}} turn off SmartEdit mode and add the following keyvalue pair to the entity: effects {{{1}}}.

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

Remember that you can set the effects value during runtime using an entity's AddOutput input with the input value effects x (x being any summation of effects flags).

Warning.pngWarning:Using the AddOutput functionality for this, the new value may interfere with an entity's simulation functionality.