You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ScriptRegisterFunction( g_pScriptVM, AddThinkToEnt, "This will put a think function onto an entity, or pass null to remove it. This is NOT chained, so be careful." );
978
-
ScriptRegisterFunction( g_pScriptVM, PrecacheEntityFromTable, "Precache an entity from KeyValues in a table." );
978
+
ScriptRegisterFunctionNamed( g_pScriptVM, PrecacheEntityFromTable, "DoPrecacheEntityFromTable", SCRIPT_ALIAS( "PrecacheEntityFromTable", "Precache an entity from KeyValues in a table." ) );
979
979
ScriptRegisterFunction( g_pScriptVM, SpawnEntityFromTable, "Native function for entity spawning." );
980
980
#endif// !CLIENT_DLL
981
981
ScriptRegisterFunction( g_pScriptVM, EntIndexToHScript, "Returns the script handle for the given entity index." );
DEFINE_SCRIPTFUNC( SetPropStringArray, "Sets a string in an array." )
2542
2634
DEFINE_SCRIPTFUNC( SetPropVector, "Sets to the specified vector." )
2543
2635
DEFINE_SCRIPTFUNC( SetPropVectorArray, "Sets a 3D vector in an array." )
2636
+
DEFINE_SCRIPTFUNC( GetPropInfo, "Fills in a passed table with property info for the provided entity." )
2637
+
#ifndef CLIENT_DLL
2638
+
DEFINE_SCRIPTFUNC( GetTable, "Fills in a passed table with all props of a specified type for the provided entity (set prop_type to 0 for SendTable or 1 for DataMap)." )
2639
+
#endif
2544
2640
#ifdef _DEBUG
2545
2641
DEFINE_SCRIPTFUNC( Dump, "Dump all readable netprop and datafield values of this entity. Pass in file name to write into." );
0 commit comments