static int gEntList_FindEntityGenericWithin (lua_State *L) {
  lua_pushentity(L, gEntList.FindEntityGenericWithin(lua_toentity(L, 1), luaL_checkstring(L, 2), luaL_checkvector(L, 3), luaL_checknumber(L, 4), luaL_optentity(L, 5, 0), luaL_optentity(L, 6, 0), luaL_optentity(L, 7, 0)/*, luaL_optint(L, 8, 0)*/));
  return 1;
}
static int gEntList_FindEntityGeneric (lua_State *L) {
  lua_pushentity(L, gEntList.FindEntityGeneric(lua_toentity(L, 1), luaL_checkstring(L, 2), luaL_optentity(L, 3, 0), luaL_optentity(L, 4, 0), luaL_optentity(L, 5, 0)));
  return 1;
}
static int gEntList_FindEntityProcedural (lua_State *L) {
  lua_pushentity(L, gEntList.FindEntityProcedural(luaL_checkstring(L, 1), luaL_optentity(L, 2, 0), luaL_optentity(L, 3, 0), luaL_optentity(L, 4, 0)));
  return 1;
}
static int gEntList_FindEntityByNameNearest (lua_State *L) {
  lua_pushentity(L, gEntList.FindEntityByNameNearest(luaL_checkstring(L, 1), luaL_checkvector(L, 2), luaL_checknumber(L, 3), luaL_optentity(L, 4, 0), luaL_optentity(L, 5, 0), luaL_optentity(L, 6, 0)/*, luaL_optint(L, 7, 0)*/));
  return 1;
}
Beispiel #5
0
static int CBaseEntity_CreateNoSpawn (lua_State *L) {
  lua_pushentity(L, CBaseEntity::CreateNoSpawn(luaL_checkstring(L, 1), luaL_checkvector(L, 2), luaL_checkangle(L, 3), luaL_optentity(L, 4, NULL)));
  return 1;
}