#Manhunt Tracker

1 messages · Page 1 of 1 (latest)

desert crystal
#

I want to make a Compass, that should track a person if both of them are in the same world, if they are not, it should track the portal they went through. Now my Question is, how do i save the (Overworld) Coords of the Portal they went through?
That wont work with past location: (There is no Location in an on portal event)
https://skripthub.net/docs/?id=1050

unique star
#

You could try on portal: event when the runners enter a portal.

#

Then, once they did, save their location into a variable. like {lastPortalLocation}.

#

We can now set the compass location to this variable.

desert crystal
#

That doesnt Work, because on Portal isnt making sure, that the player also goes in the Nether and doesnt Just stand in the Portal for a short time

unique star
#

hm.

#

I think on portal enter event fires once they begin the transition.

#

on portal event fires on the moment the player actually teleports.

#
on portal:
  set {lastLocation} to location of player
desert crystal
#

Is on Portal by an addon or is it from skript itself? I thought on Portal is Just a short form from on portal enter

unique star
#

Vanilla Sk!

desert crystal
#

It worked, thanks a lot xD