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

From Valve Developer Community
Jump to navigation Jump to search
m (added language bar.)
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{lang|{{FULLPAGENAME}}}}<onlyinclude><includeonly><!--
== Outputs ==
 
{{O|OnIgnite|ac-is-this=1|nofgd=1|Fired when the entity catches fire, such as from an {{ent|env_entity_igniter}} or the <code>Ignite</code> inputs.}}
-->{{minititle|Model}}
{{O|OnFizzled|ac-is-this=1|only={{portal2}}|Fired when this entity is fizzled by a {{ent|trigger_portal_cleanser}} or, for {{ent|prop_weighted_cube}}, the Dissolve or SilentDissolve inputs. :{{bug|hidetested=1|It does not fire when the object is fizzled by other means such as {{ent|env_entity_dissolver}}.}}
{{IO|OnIgnite|nofgd=1|Fired when the entity catches fire, such as from an {{ent|env_entity_igniter}} or the <code>Ignite</code> inputs.}}<!--
}}
-->{{#ifeq:{{{portal2|0}}}|0||{{IO|OnFizzled|only={{portal2}}|Fired when this entity is fizzled by a [[fizzler]] or any other means, except by using the <code>Dissolve</code> input. Use <code>SilentDissolve</code> instead.}}}}<!--
 
--></includeonly></onlyinclude>
{{documentation|content=
== Usage ==
This template is our holder for all [[outputs]] assigned through {{ent|CBaseAnimating}}.
 
=== Parameters ===
* {{param|portal2|0}} - Set to 1 to display the <code>OnFizzled</code> output for entities that are usable in Portal 2.
 
=== Example ===
{{tlc|O BaseAnimating|portal2{{=}}1}} delivers:
<div style="border:1px dashed">
{{O BaseAnimating|portal2=1}}</div>}}[[Category:Output Templates|BaseAnimating]]

Latest revision as of 07:17, 20 May 2025

Outputs

OnIgnite  !FGD
!activator = !caller = this entity
Fired when the entity catches fire, such as from an env_entity_igniter or the Ignite inputs.
OnFizzled  (only in Portal 2)
!activator = !caller = this entity
Fired when this entity is fizzled by a trigger_portal_cleanser or, for prop_weighted_cube, the Dissolve or SilentDissolve inputs. :
Icon-Bug.pngBug:It does not fire when the object is fizzled by other means such as env_entity_dissolver.