sweetgum83/scripts/map/onUserEnter/200000112.js

12 lines
281 B
JavaScript
Raw Normal View History

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