stubbed some more functions from kj's ai stuff

- fixed some typos
- cleaned some debug code
This commit is contained in:
Tahir Akhlaq committed 2017-06-29 21:54:30 +01:00
1 parent 6b023ceb3c
commit 62055eff04
13 files changed
+97 -223

No files matched your search

+4 -4
View File
@@ -533,11 +533,11 @@ 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);
Coroutine coroutine = script.CreateCoroutine(script.Globals["onTrigger"]).Coroutine;
DynValue value = coroutine.Resume(LuaParam.ToArray());
GetInstance().ResolveResume(player, coroutine, value);
return;
}
}