Exposed more things to VScript, including vehicles, AI goal entities, and convars

This commit is contained in:
Blixibon
2020-05-27 10:51:11 -05:00
parent c12418e1ce
commit eb63b7b6a6
12 changed files with 253 additions and 3 deletions

View File

@@ -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
//-------------------------------------