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 1: Line 1:
A simple introduction to Outputs/Inputs/Flags can be found here.
'''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]].


<div style="display:flex; gap:.8em">
<div style="display:flex; gap:.8em">

Revision as of 15:45, 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 ?]