User:THE OWL/Sandbox/Templates/OIF

来自Valve Developer Community
跳转到导航 跳转到搜索
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)
关于
Icon-translate.png Available doc translations
Info.png
文档页面 User:THE OWL/Sandbox/Templates/OIF/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。

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.png错误: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
(存在于 SiN Episodes)
Fired when the map is loaded for any reason if the game is in low-violence mode.
OnViolenceHigh
(存在于 SiN Episodes)
Fired when the map is loaded for any reason if the game is not in low-violence mode.

Included templates