Tf logic training mode: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{tf2 point|tf_logic_training_mode}} ==Entity description== Handles outputs and and messages for training. ==Keyvalues== {{KV Targetname}} ==Inputs== {{I Targetname}} {{IO|Sho…')
 
Line 6: Line 6:
==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV|Next Map|choices|Next map to load when the current one is finished.}}
:{| class=standard-table
!| Value || Description
|-
| tr_dustbowl ||
|-
| tr_target||
|}


==Inputs==
==Inputs==

Revision as of 11:42, 7 November 2011

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