SpyAttack: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Only allow the angles column to be sortable.)
mNo edit summary
Line 26: Line 26:
Spy bots with easy difficulty will always attempt to use their melee weapon against their target, regardless if the Spy bots are actually behind them.
Spy bots with easy difficulty will always attempt to use their melee weapon against their target, regardless if the Spy bots are actually behind them.


[[Category:NextBot Action]]
[[Category:NextBot Actions]]
[[Category:Team Fortress 2 NextBot Action]]
[[Category:Team Fortress 2 NextBot Actions]]

Revision as of 02:03, 16 November 2021

English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

SpyAttack is a NextBot action in Template:Game name.

C++ In code, it is represented by theCTFBotSpyAttackclass, defined in thetf_bot_spy_attack.cppfile.

Description

SpyAttack makes Spy TFBots attempt to attack another player.

The acting Spy bot will either use their primary, secondary, or melee weapon.

Melee Weapon

Difficulty Angle to backstab
Easy ±0.9π (±51.57°)
Normal ±0.7071π (±40.51°)
Hard ±0.2π (±11.46°)
Expert ±0.0π (±0°)

Spy bots with easy difficulty will always attempt to use their melee weapon against their target, regardless if the Spy bots are actually behind them.