|
|
|
@ -4001,285 +4001,285 @@ static int Entity_SetTeammaster(lua_State *L) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static const luaL_Reg Entity_ctor[] = {
|
|
|
|
|
{"Spawn", Entity_Spawn},
|
|
|
|
|
{"Find", Entity_Find},
|
|
|
|
|
{"FindMMB", Entity_FindMMB},
|
|
|
|
|
{"FindNumber", Entity_FindNumber},
|
|
|
|
|
{"FindBModel", Entity_FindBModel},
|
|
|
|
|
{"GetTarget", Entity_GetTarget},
|
|
|
|
|
{"MMBRefit", Entity_MMBRefit},
|
|
|
|
|
{"CallSpawn", Entity_CallSpawn},
|
|
|
|
|
{"DelayedCallSpawn", Entity_DelayedCallSpawn },
|
|
|
|
|
{"Remove", Entity_Remove},
|
|
|
|
|
{"RemoveUnnamedSpawns", Entity_RemoveUnnamedSpawns},
|
|
|
|
|
{"RemoveSpawns", Entity_RemoveSpawns},
|
|
|
|
|
{"RemoveType", Entity_RemoveType},
|
|
|
|
|
{"Use", Entity_Use},
|
|
|
|
|
{NULL, NULL}
|
|
|
|
|
{ "Spawn", Entity_Spawn },
|
|
|
|
|
{ "Find", Entity_Find },
|
|
|
|
|
{ "FindMMB", Entity_FindMMB },
|
|
|
|
|
{ "FindNumber", Entity_FindNumber },
|
|
|
|
|
{ "FindBModel", Entity_FindBModel },
|
|
|
|
|
{ "GetTarget", Entity_GetTarget },
|
|
|
|
|
{ "MMBRefit", Entity_MMBRefit },
|
|
|
|
|
{ "CallSpawn", Entity_CallSpawn },
|
|
|
|
|
{ "DelayedCallSpawn", Entity_DelayedCallSpawn },
|
|
|
|
|
{ "Remove", Entity_Remove },
|
|
|
|
|
{ "RemoveUnnamedSpawns", Entity_RemoveUnnamedSpawns },
|
|
|
|
|
{ "RemoveSpawns", Entity_RemoveSpawns },
|
|
|
|
|
{ "RemoveType", Entity_RemoveType },
|
|
|
|
|
{ "Use", Entity_Use },
|
|
|
|
|
{ NULL, NULL }
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static const luaL_Reg Entity_meta[] = {
|
|
|
|
|
{"__gc", Entity_GC},
|
|
|
|
|
{"__tostring", Entity_ToString},
|
|
|
|
|
{"GetNumber", Entity_GetNumber},
|
|
|
|
|
{"IsClient", Entity_IsClient},
|
|
|
|
|
{"GetClientname", Entity_GetClientName},
|
|
|
|
|
{"Print", Entity_Print},
|
|
|
|
|
{"CenterPrint", Entity_CenterPrint},
|
|
|
|
|
{ "__gc", Entity_GC },
|
|
|
|
|
{ "__tostring", Entity_ToString },
|
|
|
|
|
{ "GetNumber", Entity_GetNumber },
|
|
|
|
|
{ "IsClient", Entity_IsClient },
|
|
|
|
|
{ "GetClientname", Entity_GetClientName },
|
|
|
|
|
{ "Print", Entity_Print },
|
|
|
|
|
{ "CenterPrint", Entity_CenterPrint },
|
|
|
|
|
|
|
|
|
|
{"GetClassname", Entity_GetClassName}, // args: none; return: string
|
|
|
|
|
{"SetClassname", Entity_SetClassName}, // args: string; return: nothing
|
|
|
|
|
{ "GetClassname", Entity_GetClassName }, // args: none; return: string
|
|
|
|
|
{ "SetClassname", Entity_SetClassName }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{ "GetTargetname", Entity_GetTargetName }, // args: none; return: string
|
|
|
|
|
{ "SetTargetname", Entity_SetTargetName }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetTargetname", Entity_GetTargetName}, // args: none; return: string
|
|
|
|
|
{"SetTargetname", Entity_SetTargetName}, // args: string; return: nothing
|
|
|
|
|
{ "Rotate", Entity_Rotate },
|
|
|
|
|
|
|
|
|
|
{"Rotate", Entity_Rotate},
|
|
|
|
|
{ "IsRocket", Entity_IsRocket },
|
|
|
|
|
{ "IsGrenade", Entity_IsGrenade },
|
|
|
|
|
{ "Teleport", Entity_Teleport },
|
|
|
|
|
{ "SetKeyValue", Entity_SetKeyValue },
|
|
|
|
|
{ "GetOrigin", Entity_GetOrigin },
|
|
|
|
|
{ "SetupTrigger", Entity_SetupTrigger },
|
|
|
|
|
|
|
|
|
|
{"IsRocket", Entity_IsRocket},
|
|
|
|
|
{"IsGrenade", Entity_IsGrenade},
|
|
|
|
|
{"Teleport", Entity_Teleport},
|
|
|
|
|
{"SetKeyValue", Entity_SetKeyValue},
|
|
|
|
|
{"GetOrigin", Entity_GetOrigin},
|
|
|
|
|
{"SetupTrigger", Entity_SetupTrigger},
|
|
|
|
|
{ "Lock", Entity_Lock },
|
|
|
|
|
{ "Unlock", Entity_Unlock },
|
|
|
|
|
{ "IsLocked", Entity_IsLocked },
|
|
|
|
|
|
|
|
|
|
{"Lock", Entity_Lock},
|
|
|
|
|
{"Unlock", Entity_Unlock},
|
|
|
|
|
{"IsLocked", Entity_IsLocked},
|
|
|
|
|
{ "GetParm", Entity_GetParm },
|
|
|
|
|
{ "SetParm", Entity_SetParm },
|
|
|
|
|
|
|
|
|
|
{"GetParm", Entity_GetParm},
|
|
|
|
|
{"SetParm", Entity_SetParm},
|
|
|
|
|
{ "GetActivator", Entity_GetActivator }, // args: none; return: ent
|
|
|
|
|
{ "SetActivator", Entity_SetActivator }, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetActivator", Entity_GetActivator}, // args: none; return: ent
|
|
|
|
|
{"SetActivator", Entity_SetActivator}, // args: ent; return: nothing
|
|
|
|
|
{ "GetAngle", Entity_GetAngle }, // args: none; return: float
|
|
|
|
|
{ "SetAngle", Entity_SetAngle }, // args: float; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetAngle", Entity_GetAngle}, // args: none; return: float
|
|
|
|
|
{"SetAngle", Entity_SetAngle}, // args: float; return: nothing
|
|
|
|
|
{ "GetApos1", Entity_GetApos1 }, // args: none; return: vec
|
|
|
|
|
{ "GetApos2", Entity_GetApos2 }, // args: none; return: vec
|
|
|
|
|
|
|
|
|
|
{"GetApos1", Entity_GetApos1}, // args: none; return: vec
|
|
|
|
|
{"GetApos2", Entity_GetApos2}, // args: none; return: vec
|
|
|
|
|
{ "SetApos1", Entity_SetApos1 }, // args: vec; return: nothing
|
|
|
|
|
{ "SetApos2", Entity_SetApos2 }, // args: vec; return: nothing
|
|
|
|
|
|
|
|
|
|
{"SetApos1", Entity_SetApos1}, // args: vec; return: nothing
|
|
|
|
|
{"SetApos2", Entity_SetApos2}, // args: vec; return: nothing
|
|
|
|
|
{ "GetBluename", Entity_GetBluename }, // args: none; return: string
|
|
|
|
|
{ "SetBluename", Entity_SetBluename }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetBluename", Entity_GetBluename}, // args: none; return: string
|
|
|
|
|
{"SetBluename", Entity_SetBluename}, // args: string; return: nothing
|
|
|
|
|
{ "GetBluesound", Entity_GetBluesound }, // args: none; return: string
|
|
|
|
|
{ "SetBluesound", Entity_SetBluesound }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetBluesound", Entity_GetBluesound}, // args: none; return: string
|
|
|
|
|
{"SetBluesound", Entity_SetBluesound}, // args: string; return: nothing
|
|
|
|
|
{ "GetBooleanstate", Entity_GetBooleanstate }, // args: none; return: bool
|
|
|
|
|
{ "SetBooleanstate", Entity_SetBooleanstate }, // args: bool; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetBooleanstate", Entity_GetBooleanstate}, // args: none; return: bool
|
|
|
|
|
{"SetBooleanstate", Entity_SetBooleanstate}, // args: bool; return: nothing
|
|
|
|
|
{ "GetClipmask", Entity_GetClipmask }, // args: none; return: int
|
|
|
|
|
{ "SetClipmask", Entity_SetClipmask }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetClipmask", Entity_GetClipmask}, // args: none; return: int
|
|
|
|
|
{"SetClipmask", Entity_SetClipmask}, // args: int; return: nothing
|
|
|
|
|
{ "GetCount", Entity_GetCount }, // args: none; return: int
|
|
|
|
|
{ "SetCount", Entity_SetCount }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetCount", Entity_GetCount}, // args: none; return: int
|
|
|
|
|
{"SetCount", Entity_SetCount}, // args: int; return: nothing
|
|
|
|
|
{ "GetDamage", Entity_GetDamage }, // args: none; return: int
|
|
|
|
|
{ "SetDamage", Entity_SetDamage }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetDamage", Entity_GetDamage}, // args: none; return: int
|
|
|
|
|
{"SetDamage", Entity_SetDamage}, // args: int; return: nothing
|
|
|
|
|
{ "GetDistance", Entity_GetDistance }, // args: none; return: float
|
|
|
|
|
{ "SetDistance", Entity_SetDistance }, // args: float; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetDistance", Entity_GetDistance}, // args: none; return: float
|
|
|
|
|
{"SetDistance", Entity_SetDistance}, // args: float; return: nothing
|
|
|
|
|
{ "GetEnemy", Entity_GetEnemy }, // args: none; return: ent
|
|
|
|
|
{ "SetEnemy", Entity_SetEnemy }, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetEnemy", Entity_GetEnemy}, // args: none; return: ent
|
|
|
|
|
{"SetEnemy", Entity_SetEnemy}, // args: ent; return: nothing
|
|
|
|
|
{ "GetEventTime", Entity_GetEventTime }, // args: none; return: int
|
|
|
|
|
{ "SetEventTime", Entity_SetEventTime }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetEventTime", Entity_GetEventTime}, // args: none; return: int
|
|
|
|
|
{"SetEventTime", Entity_SetEventTime}, // args: int; return: nothing
|
|
|
|
|
{ "GetFalsename", Entity_GetFalsename }, // args: none; return: string
|
|
|
|
|
{ "SetFalsename", Entity_SetFalsename }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetFalsename", Entity_GetFalsename}, // args: none; return: string
|
|
|
|
|
{"SetFalsename", Entity_SetFalsename}, // args: string; return: nothing
|
|
|
|
|
{ "GetTruename", Entity_GetTruename }, // args: none; return: string
|
|
|
|
|
{ "SetTruename", Entity_SetTruename }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetTruename", Entity_GetTruename}, // args: none; return: string
|
|
|
|
|
{"SetTruename", Entity_SetTruename}, // args: string; return: nothing
|
|
|
|
|
{ "GetFalsetarget", Entity_GetFalsetarget }, // args: none; return: string
|
|
|
|
|
{ "SetFalsetarget", Entity_SetFalsetarget }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetFalsetarget", Entity_GetFalsetarget}, // args: none; return: string
|
|
|
|
|
{"SetFalsetarget", Entity_SetFalsetarget}, // args: string; return: nothing
|
|
|
|
|
{ "GetTruetarget", Entity_GetTruetarget }, // args: none; return: string
|
|
|
|
|
{ "SetTruetarget", Entity_SetTruetarget }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetTruetarget", Entity_GetTruetarget}, // args: none; return: string
|
|
|
|
|
{"SetTruetarget", Entity_SetTruetarget}, // args: string; return: nothing
|
|
|
|
|
{ "GetFlags", Entity_GetFlags }, // args: none; return: int
|
|
|
|
|
{ "SetFlags", Entity_SetFlags }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetFlags", Entity_GetFlags}, // args: none; return: int
|
|
|
|
|
{"SetFlags", Entity_SetFlags}, // args: int; return: nothing
|
|
|
|
|
{ "GetFreeAfterEvent", Entity_GetFreeAfterEvent }, // args: none; return: bool
|
|
|
|
|
{ "SetFreeAfterEvent", Entity_SetFreeAfterEvent }, // args: bool; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetFreeAfterEvent", Entity_GetFreeAfterEvent}, // args: none; return: bool
|
|
|
|
|
{"SetFreeAfterEvent", Entity_SetFreeAfterEvent}, // args: bool; return: nothing
|
|
|
|
|
{ "GetFreetime", Entity_GetFreetime }, // args: none; return: int
|
|
|
|
|
|
|
|
|
|
{"GetFreetime", Entity_GetFreetime}, // args: none; return: int
|
|
|
|
|
{ "GetGreensound", Entity_GetGreensound }, // args: none; return: string
|
|
|
|
|
{ "SetGreensound", Entity_SetGreensound }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetGreensound", Entity_GetGreensound}, // args: none; return: string
|
|
|
|
|
{"SetGreensound", Entity_SetGreensound}, // args: string; return: nothing
|
|
|
|
|
{ "GetHealth", Entity_GetHealth }, // args: none; return: int
|
|
|
|
|
{ "SetHealth", Entity_SetHealth }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetHealth", Entity_GetHealth}, // args: none; return: int
|
|
|
|
|
{"SetHealth", Entity_SetHealth}, // args: int; return: nothing
|
|
|
|
|
{ "GetInUse", Entity_GetInUse }, // args: none; return: bool
|
|
|
|
|
|
|
|
|
|
{"GetInUse", Entity_GetInUse}, // args: none; return: bool
|
|
|
|
|
{ "GetLastEnemy", Entity_GetLastEnemy }, // args: none; return: ent
|
|
|
|
|
{ "SetLastEnemy", Entity_SetLastEnemy }, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{ "GetLuaDie", Entity_GetLuaDie }, // args: none; return: string
|
|
|
|
|
{ "SetLuaDie", Entity_SetLuaDie }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLastEnemy", Entity_GetLastEnemy}, // args: none; return: ent
|
|
|
|
|
{"SetLastEnemy", Entity_SetLastEnemy}, // args: ent; return: nothing
|
|
|
|
|
{ "GetLuaEntity", Entity_GetLuaEntity }, // args: none; return: bool
|
|
|
|
|
|
|
|
|
|
{ "GetLuaFree", Entity_GetLuaFree }, // args: none; return: string
|
|
|
|
|
{ "SetLuaFree", Entity_SetLuaFree }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaDie", Entity_GetLuaDie}, // args: none; return: string
|
|
|
|
|
{"SetLuaDie", Entity_SetLuaDie}, // args: string; return: nothing
|
|
|
|
|
{ "GetLuaHurt", Entity_GetLuaHurt }, // args: none; return: string
|
|
|
|
|
{ "SetLuaHurt", Entity_SetLuaHurt }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaEntity", Entity_GetLuaEntity}, // args: none; return: bool
|
|
|
|
|
{ "GetLuaReached", Entity_GetLuaReached }, // args: none; return: string
|
|
|
|
|
{ "SetLuaReached", Entity_SetLuaReached }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaFree", Entity_GetLuaFree}, // args: none; return: string
|
|
|
|
|
{"SetLuaFree", Entity_SetLuaFree}, // args: string; return: nothing
|
|
|
|
|
{ "GetLuaReachedAngular", Entity_GetLuaReachedAngular }, // args: none; return: string
|
|
|
|
|
{ "SetLuaReachedAngular", Entity_SetLuaReachedAngular }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaHurt", Entity_GetLuaHurt}, // args: none; return: string
|
|
|
|
|
{"SetLuaHurt", Entity_SetLuaHurt}, // args: string; return: nothing
|
|
|
|
|
{ "GetLuaSpawn", Entity_GetLuaSpawn }, // args: none; return: string
|
|
|
|
|
{ "SetLuaSpawn", Entity_SetLuaSpawn }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaReached", Entity_GetLuaReached}, // args: none; return: string
|
|
|
|
|
{"SetLuaReached", Entity_SetLuaReached}, // args: string; return: nothing
|
|
|
|
|
{ "GetLuaThink", Entity_GetLuaThink }, // args: none; return: string
|
|
|
|
|
{ "SetLuaThink", Entity_SetLuaThink }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaReachedAngular", Entity_GetLuaReachedAngular}, // args: none; return: string
|
|
|
|
|
{"SetLuaReachedAngular", Entity_SetLuaReachedAngular}, // args: string; return: nothing
|
|
|
|
|
{ "GetLuaTouch", Entity_GetLuaTouch }, // args: none; return: string
|
|
|
|
|
{ "SetLuaTouch", Entity_SetLuaTouch }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaSpawn", Entity_GetLuaSpawn}, // args: none; return: string
|
|
|
|
|
{"SetLuaSpawn", Entity_SetLuaSpawn}, // args: string; return: nothing
|
|
|
|
|
{ "GetLuaTrigger", Entity_GetLuaTrigger }, // args: none; return: string
|
|
|
|
|
{ "SetLuaTrigger", Entity_SetLuaTrigger }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaThink", Entity_GetLuaThink}, // args: none; return: string
|
|
|
|
|
{"SetLuaThink", Entity_SetLuaThink}, // args: string; return: nothing
|
|
|
|
|
{ "GetLuaUse", Entity_GetLuaUse }, // args: none; return: string
|
|
|
|
|
{ "SetLuaUse", Entity_SetLuaUse }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaTouch", Entity_GetLuaTouch}, // args: none; return: string
|
|
|
|
|
{"SetLuaTouch", Entity_SetLuaTouch}, // args: string; return: nothing
|
|
|
|
|
{ "GetMessage", Entity_GetMessage }, // args: none; return: string
|
|
|
|
|
{ "SetMessage", Entity_SetMessage }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{ "GetMethodOfDeath", Entity_GetMethodOfDeath }, // args: none; return: int
|
|
|
|
|
{ "SetMethodOfDeath", Entity_SetMethodOfDeath }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaTrigger", Entity_GetLuaTrigger}, // args: none; return: string
|
|
|
|
|
{"SetLuaTrigger", Entity_SetLuaTrigger}, // args: string; return: nothing
|
|
|
|
|
{ "GetModel", Entity_GetModel }, // args: none; return: string
|
|
|
|
|
{ "SetModel", Entity_SetModel }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetLuaUse", Entity_GetLuaUse}, // args: none; return: string
|
|
|
|
|
{"SetLuaUse", Entity_SetLuaUse}, // args: string; return: nothing
|
|
|
|
|
{ "GetModel2", Entity_GetModel2 }, // args: none; return: string
|
|
|
|
|
{ "SetModel2", Entity_SetModel2 }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetMessage", Entity_GetMessage}, // args: none; return: string
|
|
|
|
|
{"SetMessage", Entity_SetMessage}, // args: string; return: nothing
|
|
|
|
|
{ "GetMovedir", Entity_GetMovedir }, // args: none; return: vec
|
|
|
|
|
{ "SetMovedir", Entity_SetMovedir }, // args: vec; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetMethodOfDeath", Entity_GetMethodOfDeath}, // args: none; return: int
|
|
|
|
|
{"SetMethodOfDeath", Entity_SetMethodOfDeath}, // args: int; return: nothing
|
|
|
|
|
{ "GetMoverstate", Entity_GetMoverstate }, // args: none; return: int
|
|
|
|
|
{ "SetMoverstate", Entity_SetMoverstate }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetModel", Entity_GetModel}, // args: none; return: string
|
|
|
|
|
{"SetModel", Entity_SetModel}, // args: string; return: nothing
|
|
|
|
|
{ "GetN00bCount", Entity_GetN00bCount }, // args: none; return: int
|
|
|
|
|
{ "SetN00bCount", Entity_SetN00bCount }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetModel2", Entity_GetModel2}, // args: none; return: string
|
|
|
|
|
{"SetModel2", Entity_SetModel2}, // args: string; return: nothing
|
|
|
|
|
{ "GetWait", Entity_GetWait }, // args: none; return: int
|
|
|
|
|
{ "SetWait", Entity_SetWait }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetMovedir", Entity_GetMovedir}, // args: none; return: vec
|
|
|
|
|
{"SetMovedir", Entity_SetMovedir}, // args: vec; return: nothing
|
|
|
|
|
{ "GetNeverFree", Entity_GetNeverFree }, // args: none; return: bool
|
|
|
|
|
{ "SetNeverFree", Entity_SetNeverFree }, // args: bool; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetMoverstate", Entity_GetMoverstate}, // args: none; return: int
|
|
|
|
|
{"SetMoverstate", Entity_SetMoverstate}, // args: int; return: nothing
|
|
|
|
|
{ "GetNextthink", Entity_GetNexthink }, // args: none; return: int
|
|
|
|
|
{ "SetNextthink", Entity_SetNexthink }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetN00bCount", Entity_GetN00bCount}, // args: none; return: int
|
|
|
|
|
{"SetN00bCount", Entity_SetN00bCount}, // args: int; return: nothing
|
|
|
|
|
{ "GetNextTrain", Entity_GetNextTrain }, // args: none; return: ent
|
|
|
|
|
{ "SetNextTrain", Entity_SetNextTrain }, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetWait", Entity_GetWait}, // args: none; return: int
|
|
|
|
|
{"SetWait", Entity_SetWait}, // args: int; return: nothing
|
|
|
|
|
{ "GetNoiseIndex", Entity_GetNoiseIndex }, // args: none; return: int
|
|
|
|
|
{ "SetNoiseIndex", Entity_SetNoiseIndex }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetNeverFree", Entity_GetNeverFree}, // args: none; return: bool
|
|
|
|
|
{"SetNeverFree", Entity_SetNeverFree}, // args: bool; return: nothing
|
|
|
|
|
{ "GetOldHealth", Entity_GetOldHealth }, // args: none; return: int
|
|
|
|
|
{ "SetOldHealth", Entity_SetOldHealth }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetNextthink", Entity_GetNexthink}, // args: none; return: int
|
|
|
|
|
{"SetNextthink", Entity_SetNexthink}, // args: int; return: nothing
|
|
|
|
|
{ "GetPaintarget", Entity_GetPaintarget }, // args: none; return: string
|
|
|
|
|
{ "SetPaintarget", Entity_SetPaintarget }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetNextTrain", Entity_GetNextTrain}, // args: none; return: ent
|
|
|
|
|
{"SetNextTrain", Entity_SetNextTrain}, // args: ent; return: nothing
|
|
|
|
|
{ "GetPainDebounceTime", Entity_GetPainDebounceTime }, // args: none; return: int
|
|
|
|
|
{ "SetPainDebounceTime", Entity_SetPainDebounceTime }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetNoiseIndex", Entity_GetNoiseIndex}, // args: none; return: int
|
|
|
|
|
{"SetNoiseIndex", Entity_SetNoiseIndex}, // args: int; return: nothing
|
|
|
|
|
{ "GetParent", Entity_GetParent }, // args: none; return: ent
|
|
|
|
|
{ "SetParent", Entity_SetParent }, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetOldHealth", Entity_GetOldHealth}, // args: none; return: int
|
|
|
|
|
{"SetOldHealth", Entity_SetOldHealth}, // args: int; return: nothing
|
|
|
|
|
{ "GetPhysicsBounce", Entity_GetPhysicsBounce }, // args: none; return: float
|
|
|
|
|
{ "SetPhysicsBounce", Entity_SetPhysicsBounce }, // args: float; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetPaintarget", Entity_GetPaintarget}, // args: none; return: string
|
|
|
|
|
{"SetPaintarget", Entity_SetPaintarget}, // args: string; return: nothing
|
|
|
|
|
{ "GetPhysicsObject", Entity_GetPhysicsObject }, // args: none; return: bool
|
|
|
|
|
{ "SetPhysicsObject", Entity_SetPhysicsObject }, // args: bool; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetPainDebounceTime", Entity_GetPainDebounceTime}, // args: none; return: int
|
|
|
|
|
{"SetPainDebounceTime", Entity_SetPainDebounceTime}, // args: int; return: nothing
|
|
|
|
|
{ "GetPos1", Entity_GetPos1 }, // args: none; return: vec
|
|
|
|
|
{ "SetPos1", Entity_SetPos1 }, // args: vec; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetParent", Entity_GetParent}, // args: none; return: ent
|
|
|
|
|
{"SetParent", Entity_SetParent}, // args: ent; return: nothing
|
|
|
|
|
{ "GetPos2", Entity_GetPos2 }, // args: none; return: vec
|
|
|
|
|
{ "SetPos2", Entity_SetPos2 }, // args: vec; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetPhysicsBounce", Entity_GetPhysicsBounce}, // args: none; return: float
|
|
|
|
|
{"SetPhysicsBounce", Entity_SetPhysicsBounce}, // args: float; return: nothing
|
|
|
|
|
{ "GetPrevTrain", Entity_GetPrevTrain }, // args: none; return: ent
|
|
|
|
|
{ "SetPrevTrain", Entity_SetPrevTrain }, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetPhysicsObject", Entity_GetPhysicsObject}, // args: none; return: bool
|
|
|
|
|
{"SetPhysicsObject", Entity_SetPhysicsObject}, // args: bool; return: nothing
|
|
|
|
|
{ "GetRandom", Entity_GetRandom }, // args: none; return: float
|
|
|
|
|
{ "SetRandom", Entity_SetRandom }, // args: float; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetPos1", Entity_GetPos1}, // args: none; return: vec
|
|
|
|
|
{"SetPos1", Entity_SetPos1}, // args: vec; return: nothing
|
|
|
|
|
{ "GetRedsound", Entity_GetRedsound }, // args: none; return: string
|
|
|
|
|
{ "SetRedsound", Entity_SetRedsound }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetPos2", Entity_GetPos2}, // args: none; return: vec
|
|
|
|
|
{"SetPos2", Entity_SetPos2}, // args: vec; return: nothing
|
|
|
|
|
{ "GetSound1To2", Entity_GetSound1To2 }, // args: none; return: int
|
|
|
|
|
{ "SetSound1To2", Entity_SetSound1To2 }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetPrevTrain", Entity_GetPrevTrain}, // args: none; return: ent
|
|
|
|
|
{"SetPrevTrain", Entity_SetPrevTrain}, // args: ent; return: nothing
|
|
|
|
|
{ "GetSound2To1", Entity_GetSound2To1 }, // args: none; return: int
|
|
|
|
|
{ "SetSound2To1", Entity_SetSound2To1 }, // args: int return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetRandom", Entity_GetRandom}, // args: none; return: float
|
|
|
|
|
{"SetRandom", Entity_SetRandom}, // args: float; return: nothing
|
|
|
|
|
{ "GetSoundLoop", Entity_GetSoundLoop }, // args: none; return: int
|
|
|
|
|
{ "SetSoundLoop", Entity_SetSoundLoop }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetRedsound", Entity_GetRedsound}, // args: none; return: string
|
|
|
|
|
{"SetRedsound", Entity_SetRedsound}, // args: string; return: nothing
|
|
|
|
|
{ "GetSoundPos1", Entity_GetSoundPos1 }, // args: none; return: int
|
|
|
|
|
{ "SetSoundPos1", Entity_SetSoundPos1 }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSound1To2", Entity_GetSound1To2}, // args: none; return: int
|
|
|
|
|
{"SetSound1To2", Entity_SetSound1To2}, // args: int; return: nothing
|
|
|
|
|
{ "GetSoundPos2", Entity_GetSoundPos2 }, // args: none; return: int
|
|
|
|
|
{ "SetSoundPos2", Entity_SetSoundPos2 }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSound2To1", Entity_GetSound2To1}, // args: none; return: int
|
|
|
|
|
{"SetSound2To1", Entity_SetSound2To1}, // args: int return: nothing
|
|
|
|
|
{ "GetSpawnflags", Entity_GetSpawnflags }, // args: none; return: int
|
|
|
|
|
{ "SetSpawnflags", Entity_SetSpawnflags }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSoundLoop", Entity_GetSoundLoop}, // args: none; return: int
|
|
|
|
|
{"SetSoundLoop", Entity_SetSoundLoop}, // args: int; return: nothing
|
|
|
|
|
{ "GetSpeed", Entity_GetSpeed }, // args: none; return: float
|
|
|
|
|
{ "SetSpeed", Entity_SetSpeed }, // args: float; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSoundPos1", Entity_GetSoundPos1}, // args: none; return: int
|
|
|
|
|
{"SetSoundPos1", Entity_SetSoundPos1}, // args: int; return: nothing
|
|
|
|
|
{ "GetSplashDamage", Entity_GetSplashDamage }, // args: none; return: int
|
|
|
|
|
{ "SetSplashDamage", Entity_SetSplashDamage }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSoundPos2", Entity_GetSoundPos2}, // args: none; return: int
|
|
|
|
|
{"SetSoundPos2", Entity_SetSoundPos2}, // args: int; return: nothing
|
|
|
|
|
{ "GetSplashMethodOfDeath", Entity_GetSplashMethodOfDeath }, // args: none; return: int
|
|
|
|
|
{ "SetSplashMethodOfDeath", Entity_SetSplashMethodOfDeath }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSpawnflags", Entity_GetSpawnflags}, // args: none; return: int
|
|
|
|
|
{"SetSpawnflags", Entity_SetSpawnflags}, // args: int; return: nothing
|
|
|
|
|
{ "GetSplashRadius", Entity_GetSplashRadius }, // args: none; return: int
|
|
|
|
|
{ "SetSplashRadius", Entity_SetSplashRadius }, // args: int; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSpeed", Entity_GetSpeed}, // args: none; return: float
|
|
|
|
|
{"SetSpeed", Entity_SetSpeed}, // args: float; return: nothing
|
|
|
|
|
{ "GetSwapname", Entity_GetSwapname }, // args: none; return: string
|
|
|
|
|
{ "SetSwapname", Entity_SetSwapname }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSplashDamage", Entity_GetSplashDamage}, // args: none; return: int
|
|
|
|
|
{"SetSplashDamage", Entity_SetSplashDamage}, // args: int; return: nothing
|
|
|
|
|
{ "GetTakedamage", Entity_GetTakedamage }, // args: none; return: bool
|
|
|
|
|
{ "SetTakedamage", Entity_SetTakedamage }, // args: bool; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSplashMethodOfDeath", Entity_GetSplashMethodOfDeath}, // args: none; return: int
|
|
|
|
|
{"SetSplashMethodOfDeath", Entity_SetSplashMethodOfDeath}, // args: int; return: nothing
|
|
|
|
|
{ "SetTarget", Entity_SetTarget }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSplashRadius", Entity_GetSplashRadius}, // args: none; return: int
|
|
|
|
|
{"SetSplashRadius", Entity_SetSplashRadius}, // args: int; return: nothing
|
|
|
|
|
{ "GetTargetname2", Entity_GetTargetname2 }, // args: none; return: string
|
|
|
|
|
{ "SetTargetname2", Entity_SetTargetname2 }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetSwapname", Entity_GetSwapname}, // args: none; return: string
|
|
|
|
|
{"SetSwapname", Entity_SetSwapname}, // args: string; return: nothing
|
|
|
|
|
{ "GetTargetShaderName", Entity_GetTargetShaderName }, // args: none; return: string
|
|
|
|
|
{ "SetTargetShaderName", Entity_SetTargetShaderName }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetTakedamage", Entity_GetTakedamage}, // args: none; return: bool
|
|
|
|
|
{"SetTakedamage", Entity_SetTakedamage}, // args: bool; return: nothing
|
|
|
|
|
{ "GetTargetShaderNewName", Entity_GetTargetShaderNewName }, // args: none; return: string
|
|
|
|
|
{ "SetTargetShaderNewName", Entity_SetTargetShaderNewName }, // args: string; return: nothing
|
|
|
|
|
|
|
|
|
|
{"SetTarget", Entity_SetTarget}, // args: string; return: nothing
|
|
|
|
|
{ "GetTargetEnt", Entity_GetTargetEnt }, // args: none; return: ent
|
|
|
|
|
{ "SetTargetEnt", Entity_SetTargetEnt }, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetTargetname2", Entity_GetTargetname2}, // args: none; return: string
|
|
|
|
|
{"SetTargetname2", Entity_SetTargetname2}, // args: string; return: nothing
|
|
|
|
|
{ "GetTeam", Entity_GetTeam }, // args: none; return: string
|
|
|
|
|
{ "SetTeam", Entity_SetTeam }, // args: string; return nothing
|
|
|
|
|
|
|
|
|
|
{"GetTargetShaderName", Entity_GetTargetShaderName}, // args: none; return: string
|
|
|
|
|
{"SetTargetShaderName", Entity_SetTargetShaderName}, // args: string; return: nothing
|
|
|
|
|
{ "GetTeamchain", Entity_GetTeamchain }, // args: none; return: ent
|
|
|
|
|
{ "SetTeamchain", Entity_SetTeamchain }, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetTargetShaderNewName", Entity_GetTargetShaderNewName}, // args: none; return: string
|
|
|
|
|
{"SetTargetShaderNewName", Entity_SetTargetShaderNewName}, // args: string; return: nothing
|
|
|
|
|
{ "GetTeammaster", Entity_GetTeammaster },
|
|
|
|
|
{ "SetTeammaster", Entity_SetTeammaster },
|
|
|
|
|
|
|
|
|
|
{"GetTargetEnt", Entity_GetTargetEnt}, // args: none; return: ent
|
|
|
|
|
{"SetTargetEnt", Entity_SetTargetEnt}, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetTeam", Entity_GetTeam}, // args: none; return: string
|
|
|
|
|
{"SetTeam", Entity_SetTeam}, // args: string; return nothing
|
|
|
|
|
|
|
|
|
|
{"GetTeamchain", Entity_GetTeamchain}, // args: none; return: ent
|
|
|
|
|
{"SetTeamchain", Entity_SetTeamchain}, // args: ent; return: nothing
|
|
|
|
|
|
|
|
|
|
{"GetTeammaster", Entity_GetTeammaster},
|
|
|
|
|
{"SetTeammaster", Entity_SetTeammaster},
|
|
|
|
|
|
|
|
|
|
{NULL, NULL}
|
|
|
|
|
{ NULL, NULL }
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/*void dummy(gentity_t *ent) {
|
|
|
|
|