fixed method casing in lua

This commit is contained in:
Tahir Akhlaq
2016-06-15 03:41:23 +01:00
parent ba13d5798d
commit 884a26dc52
368 changed files with 1121 additions and 1121 deletions

View File

@@ -1,19 +1,19 @@
function init(npc)
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.GetActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc, triggerName)
man0l0Quest = getStaticActor("Man0l0");
man0l0Quest = GetStaticActor("Man0l0");
if (triggerName == "talkDefault") then
player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_15", nil, nil, nil);
player:RunEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_15", nil, nil, nil);
else
player:endEvent();
player:EndEvent();
end
end
function onEventUpdate(player, npc)
player:endEvent();
player:EndEvent();
end