From 178a26203248d1bab641ba4ec874838b4534eb03 Mon Sep 17 00:00:00 2001 From: "ALLEN-PC\\acj30" Date: Sat, 10 Aug 2024 13:47:53 -0500 Subject: [PATCH] Add VScript function for checking last hit group on CBaseCombatCharacter --- sp/src/game/server/basecombatcharacter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sp/src/game/server/basecombatcharacter.cpp b/sp/src/game/server/basecombatcharacter.cpp index a1033586..57f6c7a5 100644 --- a/sp/src/game/server/basecombatcharacter.cpp +++ b/sp/src/game/server/basecombatcharacter.cpp @@ -193,6 +193,8 @@ BEGIN_ENT_SCRIPTDESC( CBaseCombatCharacter, CBaseFlex, "The base class shared by DEFINE_SCRIPTFUNC( EyeDirection2D, "Get the eyes' 2D direction." ) DEFINE_SCRIPTFUNC( EyeDirection3D, "Get the eyes' 3D direction." ) + DEFINE_SCRIPTFUNC( LastHitGroup, "Get the last hitgroup." ) + // // Hooks //