mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Mapbase VScript server/client expansions
This commit is contained in:
@@ -184,6 +184,20 @@ BEGIN_SIMPLE_DATADESC( CAI_Expresser )
|
||||
DEFINE_FIELD( m_flLastTimeAcceptedSpeak, FIELD_TIME ),
|
||||
END_DATADESC()
|
||||
|
||||
#ifdef MAPBASE_VSCRIPT
|
||||
BEGIN_SCRIPTDESC_ROOT( CAI_Expresser, "Expresser class for complex speech." )
|
||||
|
||||
DEFINE_SCRIPTFUNC( IsSpeaking, "Check if the actor is speaking." )
|
||||
DEFINE_SCRIPTFUNC( CanSpeak, "Check if the actor can speak." )
|
||||
DEFINE_SCRIPTFUNC( BlockSpeechUntil, "Block speech for a certain amount of time. This is stored in curtime." )
|
||||
DEFINE_SCRIPTFUNC( ForceNotSpeaking, "If the actor is speaking, force the system to recognize them as not speaking." )
|
||||
|
||||
DEFINE_SCRIPTFUNC_NAMED( ScriptSpeakRawScene, "SpeakRawScene", "Speak a raw, instanced VCD scene as though it were played through the Response System. Return whether the scene successfully plays." )
|
||||
DEFINE_SCRIPTFUNC_NAMED( ScriptSpeakAutoGeneratedScene, "SpeakAutoGeneratedScene", "Speak an automatically generated, instanced VCD scene for this sound as though it were played through the Response System. Return whether the scene successfully plays." )
|
||||
|
||||
END_SCRIPTDESC();
|
||||
#endif
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
bool CAI_Expresser::SemaphoreIsAvailable( CBaseEntity *pTalker )
|
||||
|
||||
Reference in New Issue
Block a user