Jump to content
  • 0

Back to spawn


tzamakos

Question

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

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...