tf_logic_training_mode

From Valve Developer Community
Revision as of 11:42, 7 November 2011 by Dmx6 (talk | contribs) (→‎Keyvalues)
Jump to navigation Jump to search

Team Fortress 2 tf_logic_training_mode is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

Handles outputs and and messages for training.

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

Next Map ([todo internal name (i)]) <choices>
Next map to load when the current one is finished.
Value Description
tr_dustbowl
tr_target

Inputs

ShowTrainingMsg <stringRedirectInput/string>
ShowTrainingObjective <stringRedirectInput/string>
ForcePlayerSpawnAsClassOutput
KickBots
ShowTrainingHUD
HideTrainingHUD
EndTraining <stringRedirectInput/string>
PlaySoundOnPlayer <stringRedirectInput/string>
WaitForTimerOrKeypress <stringRedirectInput/string>

Outputs

OnPlayerSpawnAsScout
OnPlayerSpawnAsSniper
OnPlayerSpawnAsSoldier
OnPlayerSpawnAsDemoman
OnPlayerSpawnAsMedic
OnPlayerSpawnAsHeavy
OnPlayerSpawnAsPyro
OnPlayerSpawnAsSpy
OnPlayerSpawnAsEngineer
OnPlayerDied
OnBotDied
OnPlayerSwappedToPrimary
OnPlayerSwappedToSecondary
OnPlayerSwappedToMelee