User:THE OWL/Sandbox/Pages/Entity page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 60: Line 60:
| target = Outputs
| target = Outputs


| item 1 = OnMapSpawn
| item 1 = OnBeginFade
| item 1 desc = Fired shortly after the entity spawns (including loading saves).
| item 1 desc = Fired when the fade has begun.
{{Bug|{{tf2}} Also fires when a new round starts}}
 
| item 2 = OnNewGame
| item 2 desc = Fired when the map is loaded to start a new game.
 
| item 3 = OnLoadGame
| item 3 desc = Fired when the map is loaded from a saved game.
 
| item 4 = OnMapTransition
| item 4 desc = Fired when the map is loaded due to a level transition.
 
| item 5 = OnBackgroundMap
| item 5 desc = Fired when the map is loaded as a background to the main menu using {{ent|map_background}}.
 
| item 6 = OnMultiNewMap
| item 6 desc = Fired shortly after the entity spawns but only in multiplayer and if the round wasn't restarted
 
| item 7 = OnMultiNewRound
| item 7 desc = Fired shortly after the entity spawns but only in multiplayer and if round was restarted
{{Warning|{{tf}} Does not get fired when tournament mode is enabled (mp_tournament 1). Use OnMapSpawn instead}}
 
| item 8 = OnViolenceLow
| item 8 desc = <div> {{only|{{sineps}}}} </div> Fired when the map is loaded for any reason if the game is in low-violence mode.
 
| item 9 = OnViolenceHigh
| item 9 desc = <div> {{only|{{sineps}}}} </div> Fired when the map is loaded for any reason if the game is not in low-violence mode.


}}
}}

Revision as of 13:11, 12 May 2024

env_fade
The env_fade icon is used in all Source engine games.
The env_fade icon is used in all Source engine games.
Engine
Availability
In all games

env_fade is a point entity available in all Source Source games. It controls screen fades to or from a solid color. Add Duration and Hold Time together for the total time this entity will be in effect.

Keyvalues

Inputs

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.

Outputs

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.

Flags

ConCommands