Added scripts for all the npcs (minus the door) in the Limsa Opening zone (boat). The beginning tutorial stuff is also scripted.

This commit is contained in:
Filip Maj 2016-04-01 23:32:52 -04:00
parent 91842ab08a
commit ae9a712477
21 changed files with 343 additions and 5 deletions

View file

@ -0,0 +1,20 @@
function onInstantiate(npc)
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");
if (triggerName == "talkDefault") then
--player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrMini003", nil, nil, nil);
player:runEventFunction("delegateEvent", player, man0l0Quest, "processEvent000_8", nil, nil, nil);
else
player:endEvent();
end
end
function onEventUpdate(player, npc)
player:endEvent();
end