bot_npc_decoy

From Valve Developer Community
Revision as of 20:05, 9 June 2021 by Amicdict (talk | contribs) (Created entity page. [Information from the Jungle Inferno leak of TF2. PLEASE FACT CHECK THIS PAGE!])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

C++ In code, it is represented by theCTFDecoyclass, defined in thetf_weapon_decoy.cppfile.

Entity description

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

tf_decoy_lifetime <int>
The lifespan of this entity in seconds.

Keyvalues

Inputs

Outputs