mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Cleaned up the new scripting code. Added a helper function to do the yielding automatically. Modified all the scripts to use the new system and added a few new ones.
This commit is contained in:
parent
51bbf4ae2e
commit
8743042950
28 changed files with 316 additions and 167 deletions
|
@ -1,10 +1,16 @@
|
|||
require("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultWil = GetStaticActor("DftWil");
|
||||
player:RunEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithMomodi_001", nil, nil, nil);
|
||||
tutorialU1 = GetStaticActor("Trl0u1");
|
||||
--callClientFunction(player, "delegateEvent", player, defaultWil, "defaultTalkWithMomodi_001", nil, nil, nil);
|
||||
callClientFunction(player, "switchEvent", defaultWil, tutorialU1, nil, nil, 1, 1, 0x3F1);
|
||||
player:endEvent();
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, blah, menuSelect)
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue