Model entity/Generic Keyvalues, Inputs and Outputs/Outputs: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Lonely output)
 
(added OnFizzled and notes)
Line 1: Line 1:
{{IO|OnIgnite|Fired when the entity catches fire, such as from an {{ent|env_entity_igniter}} or the <code>Ignite</code> inputs.}}
<noinclude>This template is our holder for all [[outputs]] assigned through {{ent|CBaseAnimating}}.
<noinclude>
 
Add <code>|portal2=1</code> to display the <code>OnFizzled</code> output for entities that are usable in Portal 2.
[[Category:Output Templates|BaseEntity]]
[[Category:Output Templates|BaseEntity]]
----
</noinclude>
</noinclude>
{{IO|OnIgnite|Fired when the entity catches fire, such as from an {{ent|env_entity_igniter}} or the <code>Ignite</code> inputs.}}
{{#if:{{{portal2|}}}|{{IO|OnFizzled|since=P2|Fired when this entity is fizzled by a [[fizzler]] or any other means. (Except the <code>Dissolve</code> input. Use <code>SilentDissolve</code> instead.)}}}}<noinclude>
{{IO|OnFizzled|since=P2|Fired when this entity is fizzled by a [[fizzler]] or any other means. (Except the <code>Dissolve</code> input. Use <code>SilentDissolve</code> instead.)}}</noinclude>

Revision as of 13:15, 21 August 2018

This template is our holder for all outputs assigned through CBaseAnimating.

Add |portal2=1 to display the OnFizzled output for entities that are usable in Portal 2.



OnIgnite
Fired when the entity catches fire, such as from an env_entity_igniter or the Ignite inputs.


OnFizzled  (in all games since Portal 2)
Fired when this entity is fizzled by a fizzler or any other means. (Except the Dissolve input. Use SilentDissolve instead.)