Clean-up Patch
Bug correction on some quests.
This commit is contained in:
13
scripts/map/onUserEnter/540010100.js
Normal file
13
scripts/map/onUserEnter/540010100.js
Normal file
@@ -0,0 +1,13 @@
|
||||
importPackage(Packages.tools);
|
||||
|
||||
var eventName = "AirPlane";
|
||||
var toMap = 540010101;
|
||||
|
||||
function start(ms) {
|
||||
var em = ms.getClient().getEventManager(eventName);
|
||||
|
||||
//is the player late to start the travel?
|
||||
if(em.getProperty("docked") == "false") {
|
||||
ms.getClient().getPlayer().warpAhead(toMap);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user