User:THE OWL/Sandbox/Templates/OIF/components: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 19: Line 19:


| item desc = <div class="mw-collapsible {{#if:{{{collapsed|}}}||mw-collapsed}}" id="mw-customcollapsible-EPE{{#switch:{{{target|}}}|KeyValues = KV|Inputs = I|Outputs = O|Flags = F}}{{{id|}}}">
| item desc = <div class="mw-collapsible {{#if:{{{collapsed|}}}||mw-collapsed}}" id="mw-customcollapsible-EPE{{#switch:{{{target|}}}|KeyValues = KV|Inputs = I|Outputs = O|Flags = F}}{{{id|}}}">
<div style="font-family:monospace; font-size:1.5em; color:rgb(255 255 255 / 85%)"> {{{2|}}} </div> <!--
<div style="font-family:monospace; font-size:1.5em; color:rgb(165 238 132 / 85%)"> {{{2|}}} </div> <!--
--> {{{3|}}}
--> {{{3|}}}
</div>
</div>


}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>

Latest revision as of 14:57, 4 May 2024

Tests

Outputs are events that fire when an entity's state changes. For example, a timer will have an output for reaching its end, a button an output for being pressed, and a door an output for coming to a close. Read more.

Icon-visibility.png Icon-visibility off.png
OnMapSpawn
Icon-visibility.png Icon-visibility off.png
OnNewGame
OnMapSpawn
Fired shortly after the entity spawns (including loading saves).
Icon-Bug.pngBug:Team Fortress 2 Also fires when a new round starts  [todo tested in ?]
OnNewGame
Fired when the map is loaded to start a new game.