|
|
(17 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| '''Outputs''' are events that fire when an entity's state changes. For example, a [[logic_timer|timer]] will have an output for reaching its end, a [[func_button|button]] an output for being pressed, and a [[prop_door_rotating|door]] an output for coming to a close. [[Inputs and Outputs#Outputs|Read more]].
| | {{delete|reason=unwanted}} |
| | |
| <div style="min-height:200px; display:flex; gap:.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 class="mw-customtoggle-E1" style="background-color:rgb(255 255 255 / 5%); border-radius:.2em; overflow:hidden; position:relative; padding:.2em .4em"> <span class="mw-collapsible" id="mw-customcollapsible-E1" style="width:100%; height:100%; background-color:rgb(255 255 255 / 5%); rotate:180deg; position:absolute; top:0; left:0"></span> OnMapSpawn </div>
| |
| <div class="mw-customtoggle-E2" style="background-color:rgb(255 255 255 / 5%); border-radius:.2em; overflow:hidden; position:relative; padding:.2em .4em"> <span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-E2" style="width:100%; height:100%; background-color:rgb(255 255 255 / 5%); rotate:180deg; position:absolute; top:0; left:0"></span> OnNewGame </div>
| |
| <div class="mw-customtoggle-E3" style="background-color:rgb(255 255 255 / 5%); border-radius:.2em; overflow:hidden; position:relative; padding:.2em .4em"> <span class="mw-collapsible mw-collapsed" id="mw-customcollapsible-E3" style="width:100%; height:100%; background-color:rgb(255 255 255 / 5%); rotate:180deg; position:absolute; top:0; left:0"></span> OnLoadGame </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%); border-radius:.2em; padding:.2em .4em"> OnBackgroundMap </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%); border-radius:.2em; padding:.2em .4em"> OnMultiNewRound </div>
| |
| </div>
| |
| <div style="width:100%; background-color:rgb(0 0 0 / 10%); border-radius:.3em; padding:.8em 1.1em">
| |
| <div class="mw-collapsible" id="mw-customcollapsible-E1">
| |
| <div style="font-size:1.2em; color:rgb(255 255 255 / 80%)"> OnMapSpawn </div> <!--
| |
| --> Fired shortly after the entity spawns (including loading saves).
| |
| {{Bug|{{tf2|4}} also fires when a new round starts}}
| |
| </div>
| |
| <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-E2">
| |
| <div style="font-size:1.2em; color:rgb(255 255 255 / 80%)"> OnNewGame </div> <!--
| |
| --> Fired when the map is loaded to start a new game.
| |
| </div>
| |
| <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-E3">
| |
| <div style="font-size:1.2em; color:rgb(255 255 255 / 80%)"> OnLoadGame </div> <!--
| |
| --> Fired when the map is loaded from a saved game.
| |
| </div>
| |
| </div>
| |
| </div>
| |