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

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 4: Line 4:
<div style="display:flex; background-color:rgb(255 255 255 / 10%); border-radius:.3em; overflow-x:clip; user-select:none">
<div style="display:flex; background-color:rgb(255 255 255 / 10%); border-radius:.3em; overflow-x:clip; user-select:none">
<div style="min-width:150px; overflow-y:auto; padding:.3em .8em .8em .8em">
<div style="min-width:150px; overflow-y:auto; padding:.3em .8em .8em .8em">
<div class="mw-customtoggle-E1" style="background-color:rgb(255 255 255 / 5%); border-radius:.2em; overflow:hidden; position:relative; padding:.2em .4em; margin-top:.5em"> <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> <span style="position:relative"> OnMapSpawn </span> </div>
{{:User:THE OWL/Sandbox/Templates/OIF/components|item|OnMapSpawn|id = 1|collapsed = false}}
<div class="mw-customtoggle-E2" style="background-color:rgb(255 255 255 / 5%); border-radius:.2em; overflow:hidden; position:relative; padding:.2em .4em; margin-top:.5em"> <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> <span style="position:relative"> OnNewGame </span> </div>
{{:User:THE OWL/Sandbox/Templates/OIF/components|item|OnNewGame|id = 2}}
<div class="mw-customtoggle-E3" style="background-color:rgb(255 255 255 / 5%); border-radius:.2em; overflow:hidden; position:relative; padding:.2em .4em; margin-top:.5em"> <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> <span style="position:relative"> OnLoadGame </span> </div>
{{:User:THE OWL/Sandbox/Templates/OIF/components|item|OnLoadGame|id = 3}}
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em; padding:.2em .4em; margin-top:.5em"> OnMapTransition </div>
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em; padding:.2em .4em; margin-top:.5em"> OnBackgroundMap </div>
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em; padding:.2em .4em; margin-top:.5em"> OnMultiNewMap </div>
<div style="background-color:rgb(255 255 255 / 5%);  border-radius:.2em; padding:.2em .4em; margin-top:.5em"> OnMultiNewRound </div>
</div>
</div>
</div>
</div>
<div style="width:100%; display:flex; background-color:rgb(0 0 0 / 10%); overflow-x:hidden; border-radius:.3em">
<div style="width:100%; display:flex; background-color:rgb(0 0 0 / 10%); overflow-x:hidden; border-radius:.3em">
<div style="display:flex; flex-direction:column; gap:1em; border-radius:.3em; overflow-y:auto; padding:.8em 1.1em">
<div style="display:flex; flex-direction:column; gap:1em; border-radius:.3em; overflow-y:auto; padding:.8em 1.1em">
<div class="mw-collapsible" id="mw-customcollapsible-E1">
{{:User:THE OWL/Sandbox/Templates/OIF/components|item desc
<div style="font-size:1.2em; color:rgb(255 255 255 / 80%)"> OnMapSpawn </div> <!--
| collapsed = false
--> Fired shortly after the entity spawns (including loading saves).
| id = 1
{{Bug|{{tf2|4}} also fires when a new round starts}}
| OnMapSpawn
</div>
| Fired shortly after the entity spawns (including loading saves).
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-E2">
  {{Bug|{{tf2|4}} also fires when a new round starts}}
<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.
{{:User:THE OWL/Sandbox/Templates/OIF/components|item desc
</div>
| id = 2
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-E3">
| OnNewGame
<div style="font-size:1.2em; color:rgb(255 255 255 / 80%)"> OnLoadGame </div> <!--
| Fired when the map is loaded to start a new game.  
--> Fired when the map is loaded from a saved game. <br /> <br /> {{lorem}}{{lorem}}{{lorem}}{{lorem}}
}}
</div>
{{:User:THE OWL/Sandbox/Templates/OIF/components|item desc
| id = 3
| OnLoadGame
| Fired when the map is loaded from a saved game. <br /> <br/> {{lorem}}{{lorem}}{{lorem}}{{lorem}}{{lorem}}
}}
</div>
</div>
</div>
</div>
</div>
</div>

Revision as of 02:30, 4 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.

Warning icon.png
This article has been marked as a candidate for speedy deletion because it is unwanted by the author.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Warning icon.png
This article has been marked as a candidate for speedy deletion because it is unwanted by the author.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Warning icon.png
This article has been marked as a candidate for speedy deletion because it is unwanted by the author.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Warning icon.png
This article has been marked as a candidate for speedy deletion because it is unwanted by the author.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Warning icon.png
This article has been marked as a candidate for speedy deletion because it is unwanted by the author.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
Warning icon.png
This article has been marked as a candidate for speedy deletion because it is unwanted by the author.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.