renamed mob stuff to battlenpc

- stubbed spawn/die/despawn functions
This commit is contained in:
Tahir Akhlaq committed 2017-07-07 22:08:48 +01:00
1 parent cc1929a9fb
commit d895357182
10 files changed
+63 -124

No files matched your search

+5 -4
View File
@@ -536,11 +536,12 @@ namespace FFXIVClassic_Map_Server.lua
LuaParam.Insert(1, i - (playerNull ? 2 : 0));
// run the script
//script.Call(script.Globals["onTrigger"], LuaParam.ToArray());
script.Call(script.Globals["onTrigger"], LuaParam.ToArray());
Coroutine coroutine = script.CreateCoroutine(script.Globals["onTrigger"]).Coroutine;
DynValue value = coroutine.Resume(LuaParam.ToArray());
GetInstance().ResolveResume(player, coroutine, value);
// gm commands dont need to be coroutines?
//Coroutine coroutine = script.CreateCoroutine(script.Globals["onTrigger"]).Coroutine;
//DynValue value = coroutine.Resume(LuaParam.ToArray());
//ResolveResume(player, coroutine, value);
return;
}
}