Raised This Month: $32 Target: $400
 8% 

[L4D] How to detect Is Tank Angry?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-08-2021 , 11:13   [L4D] How to detect Is Tank Angry?
Reply With Quote #1

Hi,

is there some prop or any other way?

Case: [Coop] Tank is spawned, but is not angry yet.
He becomes angry as soon as some survivor gets to him close enough, so he begins to chase survivor.

So, how to detect (yes / no) if Tank angry (chase anybody)?

PS. I tried to dump tank entity props with tEntDev,
but I don't see anything reliable in differences.

PPS. Previously, I used "m_zombieState", but it seems it's not reliable,
because it becomes 1 -> 0 as soon as m_lookatPlayer becomes X -> -1 (when tank losing the target, like player hides behind the wall).
Attached Files
File Type: txt tEntDev_Angry.txt (66.9 KB, 33 views)
File Type: txt tEntDev_NotAngry.txt (66.9 KB, 35 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode