Bot npc decoy: Difference between revisions
Jump to navigation
Jump to search

m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
(Preparing page for move. This action was perfomed by a bot.) |
||
Line 1: | Line 1: | ||
{{ | {{langsp}} | ||
{{code class|CTFDecoy|tf_weapon_decoy.cpp}} | {{code class|CTFDecoy|tf_weapon_decoy.cpp}} | ||
Line 19: | Line 19: | ||
==Outputs== | ==Outputs== | ||
{{O BaseEntity}} | {{O BaseEntity}} | ||
Revision as of 12:24, 12 January 2024


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.