Game coopmission manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created draft page)
 
mNo edit summary
Line 3: Line 3:


==Entity description==
==Entity description==
It fires [[output]]s based on events that occur specifically in the Coop-Strike game mode.
An entity that keeps track of the coop wave/phase and fires [[output]]s when players complete them.


== Keyvalues ==
== Keyvalues ==
Line 12: Line 12:


== Outputs ==
== Outputs ==
{{IO|OnMissionCompleted|Fired when the mission succeeds.}}
{{IO|OnMissionCompleted|Called when the mission is completed.}}
{{IO|OnRoundLostKilled|Fired when the mission is lost due to both players dying.}}
{{IO|OnRoundLostKilled|Called when the round is lost and the players are killed.}}
{{IO|OnRoundLostTime|Fired when the mission is lost due to running out of time.}}
{{IO|OnRoundLostTime|Called when the round is lost because time ran out.}}
{{IO|OnRoundReset|Fired when the round resets.}}
{{IO|OnRoundReset|Called when the round resets.}}
{{IO|OnSpawnsReset|Fired right before the round resets, so the spawns can be set up properly.}}
{{IO|OnSpawnsReset|Called right before the level restarts, so the spawns can be set up.}}
{{IO|OnWaveCompleted|Fired when the current wave is complete.}}
{{IO|OnWaveCompleted|Called when the players kill all enemies in this wave/section.}}
{{IO|FireUser1|to=FireUser4|These Outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see [[User Inputs and Outputs]].}}
{{IO|OnUser1|to=OnUser4|These Outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see [[User Inputs and Outputs]].}}


== See Also==
== See Also==


* [[List of Counter-Strike: Global Offensive Script Functions#Co-op_Strike_related|List of Counter-Strike: Global Offensive Script Functions]]
* [[List of Counter-Strike: Global Offensive Script Functions#Co-op_Strike_related|List of Counter-Strike: Global Offensive Script Functions]]

Revision as of 12:52, 16 March 2016

game_coopmission_manager is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Entity description

An entity that keeps track of the coop wave/phase and fires outputs when players complete them.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

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.
OnUser1 to OnUser4
These Outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see User Inputs and Outputs.

See Also