2016-04-18 13:33:31 -04:00
|
|
|
|
|
|
|
function onEventStarted(player, actor, triggerName)
|
|
|
|
|
2016-06-15 03:41:23 +01:00
|
|
|
man0g0Quest = GetStaticActor("Man0g0");
|
|
|
|
--player:RunEventFunction("delegateEvent", player, man0g0Quest, "processTtrBtl001");
|
|
|
|
player:RunEventFunction("delegateEvent", player, man0g0Quest, "processTtrBtl002");
|
2016-04-18 13:33:31 -04:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
function onEventUpdate(player, npc, resultId)
|
2016-06-15 03:41:23 +01:00
|
|
|
--man0g0Quest = GetStaticActor("Man0g0");
|
|
|
|
--player:RunEventFunction("delegateEvent", player, man0g0Quest, "processTtrBtl002");
|
|
|
|
player:EndEvent();
|
2016-04-18 13:33:31 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
function onCommand(player, command)
|
|
|
|
--Check command if ActivateCommand
|
2016-06-15 03:41:23 +01:00
|
|
|
player:EndCommand();
|
|
|
|
player:EndEvent();
|
|
|
|
player:KickEvent(player:GetDirector(), "noticeEvent", true);
|
2016-04-18 13:33:31 -04:00
|
|
|
end
|