Scripts for running the various commands/npcs (done so far) are pushed.

This commit is contained in:
Filip Maj 2016-03-12 02:54:03 -05:00
parent e851c767df
commit e409d3792c
67 changed files with 1447 additions and 0 deletions

View file

@ -0,0 +1,3 @@
function onInstantiate(npc)
return "/Chara/Npc/Monster/Lemming/NuteaterStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 10, 1, 4, false, false, false, false, false, false, false, false, 2;
end

View file

@ -0,0 +1,34 @@
--[[
AetheryteParent Script
Functions:
eventAetheryteParentSelect(0x0, false, 0x60, 0x138807,0,0,0,0)
eventAetheryteParentDesion(
showAetheryteTips(
eventGLSelect(0)
eventSelectGLDetail(0x2a48, a, f4241, 136, 98b1d9, 1, 1, true, false)
eventGLDifficulty(0x2a48)
eventGLStart(0x2a48, 2, c8, 0, 0, 0, 0)
eventGLBoost()
eventGLPlay
eventGLReward()
Menu Ids:
--]]
function onInstantiate(npc)
return "/Chara/Npc/Object/Aetheryte/AetheryteParent", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("eventAetheryteParentSelect", 0x0, false, 0x61, 0x0,0,0,0,0);
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
--player:runEventFunction("askOfferQuest", player, 1000);
player:endEvent();
end

View file

@ -0,0 +1,38 @@
--[[
PopulaceGuildlevePublisher Script
Functions:
eventTalkType(level (changes factionLeves), sayIntro, brokenBladePoints, shieldsPoints, hornhandPoints, showTutorialLeves, doOmen (!=0), menuId (to Jump), leveAllowances, ?, ?, ?)
eventTalkPack(startGuildlevePack, endGuildlevePack)
eventTalkCard(card1,card2,card3,card4,card5,card6,card7,card8)
eventTalkDetail(guildLeveId, factionEvaluating, rewardType1, rewardQuantity1, rewardType2, rewardQuantity2, boostPoint, previouslyCompleted, completionBonus)
eventTalkAfterOffer()
eventHistoryleveExist(guildLeveId)
eventHistoryleveCannot()
eventGLChangeDetail(?, guildLeveId, boostPoint, rewardType1, rewardQuantity1, rewardType2, rewardQuantity2, factionEvaluating, previouslyCompleted)
eventTalkChangeOne(skipQuestion)
talkOfferMaxOver()
askRetryRegionalleve(guildLeveId, leveAllowances);
Menu Ids:
--]]
function onInstantiate(npc)
return "/Chara/Npc/Populace/PopulaceGuildlevePublisher", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("eventTalkType", 0x30, true, 0x02CE, 0x356, 0x367, true, 0, nil, 0x29, 0,0,0);
end
function onEventUpdate(player, npc, step, menuOptionSelected)
--player:runEventFunction("eventTalkType", 0x32, true, 0x02CE, 0x356, 0x367, false, 2, nil, 0x29, 0,0,0);
player:runEventFunction("eventTalkPack", 201, 207);
--player:runEventFunction("eventTalkCard", 0x30C3, 0x30C4, 0x30C1, 0x30C5, 0x30C6, 0x30C7, 0x30C8, 0x30C9);
--player:runEventFunction("eventTalkDetail", 0x30C4, 2, 0xF4242, 0xD, 0xF4242, 0, 0xFF, true, 11);
--player:runEventFunction("eventGLChangeDetail", 0xDEAD, 0x30C4, 0xFF, 0xF4242, 0xD, 0xF4242, 0, 2, true);
player:endEvent();
end

View file

@ -0,0 +1,28 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/PopulaceLinkshellManager", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
isNew = false;
player:runEventFunction("eventTalkStep1", isNew);
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
if (menuOptionSelected == nil) then
player:endEvent();
return;
end
isNew = false;
if (menuOptionSelected == 1) then
player:runEventFunction("eventTalkStep2", isNew);
elseif (menuOptionSelected == 10) then
player:endEvent();
return;
elseif (menuOptionSelected == 3) then
--createLinkshell
player:runEventFunction("eventTalkStepMakeupDone", isNew);
end
end

View file

@ -0,0 +1,37 @@
--[[
PopulacePassiveGLPublisher Script
Functions:
askOfferPack() - Show Classes
askOfferRank() - Show Ranks
askOfferQuest(player)
confirmOffer(nil, questId)
confirmMaxOffer()
talkOfferWelcome(actor, leveAllowances)
talkOfferDecide()
talkOfferMaxOver()
selectDiscardGuildleve(player)
confirmJournal()
askDiscardGuildleve()
confirmDiscardGuildleve(nil, questId)
askRetryRegionalleve(questId, leveAllowances)
finishTalkTurn()
Menu Ids:
--]]
function onInstantiate(npc)
return "/Chara/Npc/Populace/PopulacePassiveGLPublisher", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("talkOfferWelcome", player, 1);
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
--player:runEventFunction("askOfferQuest", player, 1000);
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,52 @@
--[[
PopulaceGuildlevePublisher Script
Functions:
welcomeTalk(say1, player, say2, say3)
openShopBuy(player, shopId)
selectShopBuy(player)
closeShopBuy(player)
openShopSell(player, shopId
selectShopSell(player)
closeShopSell(player)
informSellPrice(num, num, num)
finishTalkTurn(nil)
selectMode(param): If >0, show class tutorial for id [param]. If <0, show gear affinity/condition instead, unless -7,-8,-9 then show normal.
selectModeOfClassVendor()
selectModeOfMultiWeaponVendor(param? is -1)
selectModeOfMultiArmorVendor(param? is -1)
confirmSellingItem()
informSellPrice(100, 100)
selectFacility
confirmUseFacility
Menu Ids:
--]]
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("selectModeOfMultiWeaponVendor", -1);
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:runEventFunction("informSellPrice", 0x1, 0x1E, 0x46);
--player:runEventFunction("openShopSell", player, 0x1389);
--player:runEventFunction("selectShopSell", player);
--player:runEventFunction("closeShopSell", player);
--player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("welcomeTalk");
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_002", nil, nil, nil); --IF ALC
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_003", nil, nil, nil); --IF ALC
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_001", nil, nil, nil); --DEFAULT
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_002", nil, nil, nil); --IF ARCHER
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_003", nil, nil, nil); --IF ARCHER
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,12 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithIsleen_001", nil, nil, nil);
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,12 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithZanthael_001", nil, nil, nil);
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNanaka_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNanaka_002", nil, nil, nil); --GSM
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithNanaka_003", nil, nil, nil); --GSM NO GUILD
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_002", nil, nil, nil); --THM
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGigirya_003", nil, nil, nil); --THM NO GUILD
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,12 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithInn_Desk", nil, nil, nil);
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,12 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithBaderon_001", nil, nil, nil);
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,12 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithZehrymm_001", nil, nil, nil);
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,12 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGnibnpha_001", nil, nil, nil);
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithJosias_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithJosias_002", nil, nil, nil); --CRP
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithJosias_003", nil, nil, nil); --CRP NO GUILD
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,15 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_002", nil, nil, nil); --LNC
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_003", nil, nil, nil); --LNC NO GUILD
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithTirauland_010", nil, nil, nil); --NOT DOW/DOM
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaunie_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaunie_002", nil, nil, nil); --PUG
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithMaunie_003", nil, nil, nil); --PUG NO GUILD
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithStephannot_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithStephannot_002", nil, nil, nil); --MIN
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithStephannot_003", nil, nil, nil); --MIN NO GUILD
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGregory_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGregory_002", nil, nil, nil); --CNJ
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithGregory_003", nil, nil, nil); --CNJ NO GUILD
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLauda_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLauda_002", nil, nil, nil); --BTN
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLauda_003", nil, nil, nil); --BTN NO GUILD
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,12 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithLaniaitte_001", nil, nil, nil);
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,12 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithBaderon_001", nil, nil, nil);
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_002", nil, nil, nil); --LTW
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_003", nil, nil, nil); --LTW NO GUILD
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,14 @@
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)
defaultSea = getStaticActor("DftSea");
player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_001", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_002", nil, nil, nil); --LTW
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_003", nil, nil, nil); --LTW NO GUILD
end
function onEventUpdate(player, npc)
player:endEvent();
end

View file

@ -0,0 +1,11 @@
function onInstantiate(npc)
return "/Chara/Npc/Object/TaskBoard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:endEvent();
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
player:endEvent();
end

View file

@ -0,0 +1,9 @@
function onZoneInit(zone)
end
function onZoneIn(player)
player:sendMessage(0x1D,"",">Callback \"onZoneIn\" for zone 133 running.");
end
function onZoneOut(zone, player)
end

View file

@ -0,0 +1,10 @@
function onZoneInit(zone)
end
function onZoneIn(zone, player)
end
function onZoneOut(zone, player)
end

View file

@ -0,0 +1,13 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/PopulaceTutorial", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
man0l0Quest = getStaticActor("Man0l0");
player:runEventFunction("delegateEvent", player, man0l0Quest, "processTtrNomal003", nil, nil, nil);
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_002", nil, nil, nil); --LTW
--player:runEventFunction("delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_003", nil, nil, nil); --LTW NO GUILD
end
function onEventUpdate(player, npc)
end

View file

@ -0,0 +1,10 @@
function onZoneInit(zone)
end
function onZoneIn(zone, player)
end
function onZoneOut(zone, player)
end

View file

@ -0,0 +1,24 @@
function onInstantiate(npc)
return "/Chara/Npc/Object/ObjectBed", false, false, false, false, false, 0x1250FB, false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
player:runEventFunction("askLogout", player);
end
function onEventUpdate(player, npc, eventStep, menuOptionSelected)
if (menuOptionSelected == 1) then
player:endEvent();
return;
elseif (menuOptionSelected == 2) then
player:quitGame();
elseif (menuOptionSelected == 3) then
player:logout();
elseif (menuOptionSelected == 4) then
player:sendMessage(33, "", "Heck the bed");
end
player:endEvent();
end

View file

@ -0,0 +1,9 @@
function onInstantiate(npc)
return "/Chara/Npc/Object/ObjectInnDoor", false, false, false, false, false, 0x1250F8, false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
end
function onEventUpdate(player, npc)
end

View file

@ -0,0 +1,9 @@
function onInstantiate(npc)
return "/Chara/Npc/Object/ObjectItemStorage", false, false, false, false, false, 0x1250F8, false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
end
function onEventUpdate(player, npc)
end

View file

@ -0,0 +1,9 @@
function onInstantiate(npc)
return "/Chara/Npc/Populace/PopulaceCutScenePlayer", false, false, false, false, false, 0x107B38, false, false, 0, 1, "TEST";
end
function onEventStarted(player, npc)
end
function onEventUpdate(player, npc)
end

View file

@ -0,0 +1,9 @@
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)
end
function onEventUpdate(player, npc)
end

View file

@ -0,0 +1,10 @@
function onZoneInit(zone)
end
function onZoneIn(zone, player)
end
function onZoneOut(zone, player)
end