Added all the new scripts for the actor instancing system.

This commit is contained in:
Filip Maj 2016-06-12 19:06:03 -04:00
parent a4ea5f024b
commit 5723f77b1f
82 changed files with 566 additions and 0 deletions

View file

@ -0,0 +1,19 @@
function init(npc)
return false, false, 0, 0;
end
function onEventStarted(player, npc, triggerName)
defaultFst = getStaticActor("DftFst");
player:runEventFunction("delegateEvent", player, defaultFst, "defaultTalkWithInn_ExitDoor", nil, nil, nil);
end
function onEventUpdate(player, npc, resultId, isExitYes)
if (isExitYes ~= nil and isExitYes == 1) then
getWorldManager():DoZoneChange(player, 1);
else
player:endEvent();
end
end