Info gamemode: Difference between revisions
Jump to navigation
Jump to search

Kestrelguy (talk | contribs) m (updated language bar. also some formatting.) |
(-removed irrelevant info) |
||
Line 3: | Line 3: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV | {{KV Targetname}} | ||
== Outputs == | == Outputs == | ||
Line 19: | Line 16: | ||
{{IO|OnScavengeMatchStart|Fired on the first map load of a scavenge match. Doesn't fire on round restarts.|since=L4D2}} | {{IO|OnScavengeMatchStart|Fired on the first map load of a scavenge match. Doesn't fire on round restarts.|since=L4D2}} | ||
{{IO|OnNavAnalyze|Fired when the map is loaded with -navanalyze on the command line.|since=L4D2}} | {{IO|OnNavAnalyze|Fired when the map is loaded with -navanalyze on the command line.|since=L4D2}} | ||
== See Also == | == See Also == |
Revision as of 13:08, 28 September 2022


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
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
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
)
- Fired after all entity IO generated by
OnCoop
has finished.
- OnVersusPostIO (in all games since
)
- Fired after all entity IO generated by
OnVersus
has finished
- OnSurvivalPostIO (in all games since
)
- Fired after all entity IO generated by
OnSurvival
has finished
- OnScavengePostIO (in all games since
)
- Fired after all entity IO generated by
OnScavenge
has finished
- OnScavengeMatchStart (in all games since
)
- Fired on the first map load of a scavenge match. Doesn't fire on round restarts.
- OnNavAnalyze (in all games since
)
- Fired when the map is loaded with -navanalyze on the command line.