mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-23 20:09:45 +03:00
Exposed more things to VScript, including vehicles, AI goal entities, and convars
This commit is contained in:
@@ -38,6 +38,15 @@ BEGIN_DATADESC( CAI_GoalEntity )
|
||||
|
||||
END_DATADESC()
|
||||
|
||||
#ifdef MAPBASE_VSCRIPT
|
||||
BEGIN_ENT_SCRIPTDESC( CAI_GoalEntity, CBaseEntity, "The base class for goal entities used to control NPC behavior." )
|
||||
|
||||
DEFINE_SCRIPTFUNC( IsActive, "Check if the goal entity is active." )
|
||||
DEFINE_SCRIPTFUNC( NumActors, "Get the number of actors using this goal entity." )
|
||||
|
||||
END_SCRIPTDESC();
|
||||
#endif
|
||||
|
||||
|
||||
//-------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user