So, in my game, enemies appear on the map. And i want some enemies to teleport around like the Cumulus Rex from DQIX. Basically, they'd have a script call in their move route that's something like "this.teleport", and when the event comes on screen, it teleports to a single global region specified in the plugin manager. And when they teleport, they'd fade out, wait 60 frames, and fade in to the new location (By the way, the default fade duration is 30 frames. You can adjust it), and have to wait two seconds before they can teleport again. It would then try to find another on-screen tile with the specified region. But, if there's something blocking that tile, like another event, or a player (Not a follower), it won't teleport there. It also wouldn't teleport anywhere within 3 tiles of a player, because then it could teleport right in front of you and that'd be mean. There'd also be no sound effect or event, because that doesn't happen with the teleporting guys in DQIX
And if you're using YEP_EventChasePlayer, the enemy would find a tile with the region close to you while it's chasing you (Or far from you if it's running from you). (By the way, if you're using that plugin, they can still teleport around even if they aren't chasing)
Hope this gets made! Unlike all my other requests!
And if you're using YEP_EventChasePlayer, the enemy would find a tile with the region close to you while it's chasing you (Or far from you if it's running from you). (By the way, if you're using that plugin, they can still teleport around even if they aren't chasing)
Hope this gets made! Unlike all my other requests!