Jump to content

Question

Posted

Hello i need help for this problem.So i searched to many times and still not found anything.
I want when a player die or monster did a specify distance it should respawn in base spawn.I want this to anti-train mobs

1 answer to this question

Recommended Posts

  • 0
Posted

You can check how returnHome() is implemented on aCis. If you already use aCis, simply edit it and edit needed conditions to fire it (AttackableAI / SiegeGuardAI).

 

A simple teleportTo(getSpawn().getLoc(), 0) is enough.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock