mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-12 06:47:56 +03:00
Add vscript funcs
Panel::RemoveTickSignal() CAI_BaseNPC::IsMedic()
This commit is contained in:
parent
82bc30cc26
commit
976eb23299
@ -1400,6 +1400,11 @@ public:
|
||||
{
|
||||
ivgui()->AddTickSignal( this->GetVPanel(), i );
|
||||
}
|
||||
|
||||
void RemoveTickSignal()
|
||||
{
|
||||
ivgui()->RemoveTickSignal( this->GetVPanel() );
|
||||
}
|
||||
#if SCRIPT_VGUI_SIGNAL_INTERFACE
|
||||
void AddActionSignalTarget( HSCRIPT messageTarget )
|
||||
{
|
||||
@ -1788,6 +1793,7 @@ public:
|
||||
DEFINE_SCRIPTFUNC( MakeReadyForUse, "" )\
|
||||
DEFINE_SCRIPTFUNC( GetName, "" )\
|
||||
DEFINE_SCRIPTFUNC( AddTickSignal, "" )\
|
||||
DEFINE_SCRIPTFUNC( RemoveTickSignal, "" )\
|
||||
\
|
||||
DEFINE_SCRIPTFUNC( GetParent, "" )\
|
||||
DEFINE_SCRIPTFUNC( SetParent, "" )\
|
||||
|
@ -12333,6 +12333,7 @@ BEGIN_ENT_SCRIPTDESC( CAI_BaseNPC, CBaseCombatCharacter, "The base class all NPC
|
||||
|
||||
DEFINE_SCRIPTFUNC( IsCommandable, "Check if the NPC is commandable." )
|
||||
DEFINE_SCRIPTFUNC( IsInPlayerSquad, "Check if the NPC is in the player's squad." )
|
||||
DEFINE_SCRIPTFUNC( IsMedic, "Returns true if this NPC is a medic." )
|
||||
|
||||
DEFINE_SCRIPTFUNC_NAMED( VScriptGetCine, "GetCine", "Get the NPC's currently running scripted sequence if it has one." )
|
||||
DEFINE_SCRIPTFUNC( GetScriptState, "Get the NPC's current scripted sequence state." )
|
||||
|
@ -412,7 +412,6 @@ ScriptHook_t CNPC_Citizen::g_Hook_SelectModel;
|
||||
|
||||
BEGIN_ENT_SCRIPTDESC( CNPC_Citizen, CAI_BaseActor, "npc_citizen from Half-Life 2" )
|
||||
|
||||
DEFINE_SCRIPTFUNC( IsMedic, "Returns true if this citizen is a medic." )
|
||||
DEFINE_SCRIPTFUNC( IsAmmoResupplier, "Returns true if this citizen is an ammo resupplier." )
|
||||
DEFINE_SCRIPTFUNC( CanHeal, "Returns true if this citizen is a medic or ammo resupplier currently able to heal/give ammo." )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user