sweetgum83/scripts/map/onUserEnter/540010001.js

12 lines
284 B
JavaScript
Raw Normal View History

2024-01-19 08:56:28 +00:00
var eventName = "AirPlane";
var toMap = 540010002;
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);
}
}