This article relates to the game "Team Fortress 2". Click here for more information.

bot_npc_decoy

From Valve Developer Community
Revision as of 12:12, 7 October 2025 by Breakin' Benny (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)
C++ Class hierarchy
CTFDecoy
CTFJar
CTFWeaponBaseGun
CTFWeaponBase
CBaseCombatWeapon
CBaseAnimating
CBaseEntity
C++ tf_weapon_decoy.cpp

bot_npc_decoy is a model 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/Command Parameters or default value Descriptor Effect
tf_decoy_lifetime int The lifespan of this entity in seconds.