Game coopmission manager: Difference between revisions
Jump to navigation
Jump to search

Tip:To relay this entity's outputs in VScript, you can either create outputs with
m (→Outputs: Substituted IO templates) |
No edit summary |
||
| Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{back|Creating a Co-op Strike Map}} | |||
{{Preserved entity|all}} | |||
{{CD|CGameCoopMissionManager|file1=maprules.h}} | |||
{{this is a|point entity|game=Counter-Strike: Global Offensive|name=game_coopmission_manager}} | {{this is a|point entity|game=Counter-Strike: Global Offensive|name=game_coopmission_manager}} | ||
An entity that keeps track of the coop wave/phase and fires [[output]]s when players complete them. | An entity that keeps track of the coop wave/phase and fires [[output]]s when players complete them. | ||
| Line 11: | Line 11: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
== Outputs == | == Outputs == | ||
| Line 22: | Line 19: | ||
{{O|OnSpawnsReset|Called right before the level restarts, so the spawns can be set up.}} | {{O|OnSpawnsReset|Called right before the level restarts, so the spawns can be set up.}} | ||
{{O|OnWaveCompleted|Called when the players kill all enemies in this wave/section.}} | {{O|OnWaveCompleted|Called when the players kill all enemies in this wave/section.}} | ||
Latest revision as of 07:59, 4 May 2025
This is a preserved entity.
If the game has round restart mechanics this entity may not behave as expected.
If the game has round restart mechanics this entity may not behave as expected.
| CGameCoopMissionManager |
game_coopmission_manager is a point entity available in
Counter-Strike: Global Offensive.
An entity that keeps track of the coop wave/phase and fires outputs when players complete them.
See List of CS:GO Script Functions for Co-op related VScript functions.
RunScriptCode for this entity or use ConnectOutput("...","...") in this entity's script scope.Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
Outputs
- OnMissionCompleted
- Called when the mission is completed.
- OnRoundLostKilled
- Called when the round is lost and the players are killed.
- OnRoundLostTime
- Called when the round is lost because time ran out.
- OnRoundReset
- Called when the round resets.
- OnSpawnsReset
- Called right before the level restarts, so the spawns can be set up.
- OnWaveCompleted
- Called when the players kill all enemies in this wave/section.