Quote:
Originally Posted by foxhound27
omg this is so cool i wanted to make a plugin that lead bots to defib person now with VScript im reading and its kinda possible must try is there any way to fake defibrilator animation? any signature for it?? thx!
|
DeathChaos already made a plugin that forces bots to defibrillate via looking and primary attack with defibs, but I'm guessing you want to fake all of the defibbing because the real method's too unstable or needy?
https://forums.alliedmods.net/showthread.php?t=261566
I've also created a VScript and signature plugin of defibrillating via menu, so defibbing externally is possible now.
EDIT: There's no easy signature for the defib animation, only thing I could find was
CTerrorPlayer::StartUseAction(TerrorPlayerUse Action,CBaseEntity *,float,bool) but without any of the definitions of
TerrorPlayerUseAction, it's gonna take a lot of trial, error and potential crashing.
Probably better to use the animation-forcing method of
this plugin instead.
__________________