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

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


<div style="display:flex; gap:.8em">
<div style="display:flex; gap:.8em">
<div style="min-width:150px; display:flex; flex-direction:column; gap:.5em; background-color:rgb(255 255 255 / 10%); padding:.8em">
<div style="min-width:150px; display:flex; flex-direction:column; gap:.5em; background-color:rgb(255 255 255 / 10%);  border-radius:.3em; padding:.8em">
<div style="background-color:rgb(255 255 255 / 10%); padding:.2em .4em"> OnMapSpawn </div>
<div style="background-color:rgb(255 255 255 / 10%);  border-radius:.2em; padding:.2em .4em"> OnMapSpawn </div>
<div style="background-color:rgb(255 255 255 / 5%); padding:.2em .4em"> OnNewGame </div>
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em; padding:.2em .4em"> OnNewGame </div>
<div style="background-color:rgb(255 255 255 / 5%); padding:.2em .4em"> OnLoadGame </div>
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em;padding:.2em .4em"> OnLoadGame </div>
<div style="background-color:rgb(255 255 255 / 5%); padding:.2em .4em"> OnMapTransition </div>
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em; padding:.2em .4em"> OnMapTransition </div>
<div style="background-color:rgb(255 255 255 / 5%); padding:.2em .4em"> OnBackgroundMap </div>
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em; padding:.2em .4em"> OnBackgroundMap </div>
<div style="background-color:rgb(255 255 255 / 5%); padding:.2em .4em"> OnMultiNewMap </div>
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em;padding:.2em .4em"> OnMultiNewMap </div>
<div style="background-color:rgb(255 255 255 / 5%); padding:.2em .4em"> OnMultiNewRound </div>
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em; padding:.2em .4em"> OnMultiNewRound </div>
</div>
</div>
<div style="width:100%; background-color:rgb(0 0 0 / 10%); padding:.6em .8em">
<div style="width:100%; background-color:rgb(0 0 0 / 10%); border-radius:.3em; padding:.8em 1.1em">
<div style="font-size:1.2em; color:rgb(255 255 255 / 80%)"> OnMapSpawn </div> <!--
<div style="font-size:1.2em; color:rgb(255 255 255 / 80%)"> OnMapSpawn </div> <!--
--> Fired shortly after the entity spawns (including loading saves).
--> Fired shortly after the entity spawns (including loading saves).

Revision as of 15:48, 3 May 2024

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.

OnMapSpawn
OnNewGame
OnLoadGame
OnMapTransition
OnBackgroundMap
OnMultiNewMap
OnMultiNewRound
OnMapSpawn
Fired shortly after the entity spawns (including loading saves).
Icon-Bug.pngBug:Team Fortress 2 Team Fortress 2 also fires when a new round starts  [todo tested in ?]