bot_npc_decoy

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)
Class hierarchy
CTFDecoy
CTFJar
CTFWeaponBaseGun
CTFWeaponBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
tf_weapon_decoy.cpp

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

An unused NextBot entity in Team Fortress 2 intended to be used for the scrapped Decoy weapon.

If this entity has an owner, then it will set its model and team to reflect the owner's class or disguise, and run forward in a straight line. Otherwise this entity will not spawn since it deletes itself upon not having an owner.

Dedicated Console Variables and Commands

Cvar/CommandParameters or default valueDescriptorEffect
tf_decoy_lifetimeintThe lifespan of this entity in seconds.