questlua_npc.cpp
Code:
int npc_get_level(lua_State * L)
{
lua_pushnumber(L, CQuestManager::instance().GetCurrentNPCCharacterPtr()->GetLevel());
return 1;
}
some more down at RegisterNPCFunctionTable():
Code:
{ "get_level", npc_get_level },
Now tested:
npc.get_level() function solved in source code. Didnt test if it works cause i got some qc problems