From 601928fec7e686bec78e2a62e9efb4ce87c153d9 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Wed, 11 Mar 2026 14:26:17 -0500 Subject: [PATCH] Expose CBaseAnimating::IsValidSequence to VScript --- sp/src/game/server/baseanimating.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sp/src/game/server/baseanimating.cpp b/sp/src/game/server/baseanimating.cpp index 28c549d6614..6150a523a21 100644 --- a/sp/src/game/server/baseanimating.cpp +++ b/sp/src/game/server/baseanimating.cpp @@ -305,6 +305,7 @@ BEGIN_ENT_SCRIPTDESC( CBaseAnimating, CBaseEntity, "Animating models" ) DEFINE_SCRIPTFUNC( GetNumBones, "Get the number of bones" ) DEFINE_SCRIPTFUNC( GetSequence, "Gets the current sequence" ) DEFINE_SCRIPTFUNC( SetSequence, "Sets the current sequence" ) + DEFINE_SCRIPTFUNC( IsValidSequence, "Whether or not the specified sequence is valid" ) DEFINE_SCRIPTFUNC( SequenceLoops, "Does the current sequence loop?" ) DEFINE_SCRIPTFUNC_NAMED( ScriptSequenceDuration, "SequenceDuration", "Get the specified sequence duration" ) DEFINE_SCRIPTFUNC( LookupSequence, "Gets the index of the specified sequence name" )