Archer proxy: 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.) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
| Line 1: | Line 1: | ||
{{this is a| | {{this is a|point entity|game=Team Fortress 2|name=archer_proxy}} | ||
{{code class|CTFArcherProxy|archer_proxy.cpp}} | {{code class|CTFArcherProxy|archer_proxy.cpp}} | ||
Revision as of 18:44, 17 May 2024
archer_proxy is a point entity available in
Team Fortress 2.
Entity description
archer_proxy fires arrows in a similar way to Mann Vs. Machine archer bots. archer_proxy will do the following actions upon creation:
- Enter the
HIDDENstate where it does nothing forRandomFloat(0.1, 1) * tf_archer_proxy_fire_rateticks and doesn't show its model. - Enters an
EMERGEstate and shows its model, but still does nothing for one second. - Enters the
AIM_AND_FIREstate where it picks targets visible from its sight (both RED and BLU players/bots) and fire arrows at them every second. - If it has no targets to shoot, it will hide its model and enter the
HIDEstate until it finds targets to shoot, after which it will go back to theAIM_AND_FIREstate.
Keyvalues
Inputs
Outputs
- KilledNPC !FGD
- Output sent when it kills a player or bot.