View Single Post
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 04-23-2024 , 16:20   Re: [TF2 & L4D & L4D2] Actions
Reply With Quote #117

Quote:
Originally Posted by awesome144 View Post
SelectMoreDangerousThreat is an optional native, but it doesn't have its own property in the methodmap? Also could I get an explanation of its callback function?
I forgot to add them, fixed in the latest update.

edit:
This callback is game depended because in l4d2 and tf2 it seems to act different
but according to the source code it's just a way to select either the first threat on the list or SelectMoreDangerousThreat result.
basicly what @caxanga334 said

Quote:
Originally Posted by little_froy View Post
L4D2 how can I get attack target in SurvivorAttack? I want to prevent some attacks.
Solved: https://forums.alliedmods.net/showthread.php?t=346696
You have to reverse "SurvivorAttack" action to get survivor's target

Quote:
Originally Posted by yongeni View Post
...
This is known crash and has nothing to do with the extension.

Quote:
Originally Posted by little_froy View Post
report: L4D2 SurvivorAttack.SelectTargetPoint can't be called if plugin late load.
?
__________________
cry

Last edited by BHaType; 04-29-2024 at 06:58.
BHaType is offline
Send a message via AIM to BHaType