Bot npc decoy

From Valve Developer Community
Revision as of 12:24, 12 January 2024 by WisdomBot (talk | contribs) (WisdomBot moved page Bot npc decoy to Bot npc decoy/en: Moved to {{Multipage}} compliant page name. This action was perfomed by a bot.)
Jump to navigation Jump to search
English (en)Translate (Translate)
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