sweetgum83/scripts/map/onUserEnter/200000132.js

12 lines
281 B
JavaScript
Raw Normal View History

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