stubbed some more functions from kj's ai stuff

- fixed some typos
- cleaned some debug code
This commit is contained in:
Tahir Akhlaq 2017-06-18 22:01:55 +01:00
parent 6b023ceb3c
commit 62055eff04
13 changed files with 97 additions and 223 deletions

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;
}
}