User:THE OWL/Sandbox/Templates/OIF

From Valve Developer Community
Jump to: navigation, search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)
About
Icon-translate.png Available doc translations
View
Page history

Entity properties elements.

Preview

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
Icon-visibility.png Icon-visibility off.png
OnLoadGame
Icon-visibility.png Icon-visibility off.png
OnMapTransition
Icon-visibility.png Icon-visibility off.png
OnBackgroundMap
Icon-visibility.png Icon-visibility off.png
OnMultiNewMap
Icon-visibility.png Icon-visibility off.png
OnMultiNewRound
Icon-visibility.png Icon-visibility off.png
OnViolenceLow
Icon-visibility.png Icon-visibility off.png
OnViolenceHigh
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.
OnLoadGame
Fired when the map is loaded from a saved game.
OnMapTransition
Fired when the map is loaded due to a level transition.
OnBackgroundMap
Fired when the map is loaded as a background to the main menu using map_background.
OnMultiNewMap
Fired shortly after the entity spawns but only in multiplayer and if the round wasn't restarted
OnMultiNewRound
Fired shortly after the entity spawns but only in multiplayer and if round was restarted
Warning.pngWarning:Template:Tf Does not get fired when tournament mode is enabled (mp_tournament 1). Use OnMapSpawn instead
OnViolenceLow
(only in SiN Episodes)
Fired when the map is loaded for any reason if the game is in low-violence mode.
OnViolenceHigh
(only in SiN Episodes)
Fired when the map is loaded for any reason if the game is not in low-violence mode.

Included templates