Template:Effect: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
mNo edit summary
Line 1: Line 1:
To use this effect, {{{2}}} turn off SmartEdit mode and add the following keyvalue pair to the entity: <code>effects {{{1}}}</code>.
To use this effect, {{{2}}} turn off SmartEdit mode and add the following keyvalue pair to the entity: <code>effects {{{1}}}</code>.


Remember that you can set the effects value during runtime using an entity's <code>AddOutput</code> input with the input value <code>effects {{{1}}}</code>.
Remember that you can set the effects value during runtime using an entity's <code>AddOutput</code> input with the input value <code>effects x</code> (x being any summation of effects flags).


{{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.}}
{{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.}}

Revision as of 17:34, 28 September 2006

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

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).

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