Info gamemode

From Valve Developer Community
Revision as of 10:04, 30 April 2022 by Kestrelguy (talk | contribs) (updated language bar. also some formatting.)
Jump to navigation Jump to search
English (en)Translate (Translate)

Template:L4d series point When a map is loaded, this entity can fire outputs depending on the current game mode. This allows the all game modes to be available in a single map instead of having separate maps for each game mode.

Keyvalues

Inputs

Outputs

OnCoop
Fired when the map spawns in coop games.
OnVersus
Fired when the map spawns in versus games.
OnSurvival
Fired when the map spawns in survival games.
OnScavenge
Fired when the map spawns in scavenge mode.
OnCoopPostIO  (in all games since Left 4 Dead 2)
Fired after all entity IO generated by OnCoop has finished.
OnVersusPostIO  (in all games since Left 4 Dead 2)
Fired after all entity IO generated by OnVersus has finished
OnSurvivalPostIO  (in all games since Left 4 Dead 2)
Fired after all entity IO generated by OnSurvival has finished
OnScavengePostIO  (in all games since Left 4 Dead 2)
Fired after all entity IO generated by OnScavenge has finished
OnScavengeMatchStart  (in all games since Left 4 Dead 2)
Fired on the first map load of a scavenge match. Doesn't fire on round restarts.
OnNavAnalyze  (in all games since Left 4 Dead 2)
Fired when the map is loaded with -navanalyze on the command line.


See Also