I'm creating a custom population (.pop
) file for Mann vs Machine, and want to be able to apply condition codes (like the TF2_AddCondition
function, or the addcond
cheat command) to a specific bot when it arrives.
Some examples of what I'm trying to accomplish:
- Upon arrival, a bot has 100% Critical Hit chance for 30 seconds. (
TFCond_CritOnDamage
) - Or: Upon spawning, coat this bot in Mad Milk (
TFCond_Milked
) for infinite duration. (That would mean that all attacks against this bot return health to the attacker.)
The .pop
files have support for event triggers eg StartWaveOutput
, but the documentation is virtually nonexistent.
Does anyone know how I can apply TF2 Conditions to bots in MvM?