10-10-2015, 04:31 PM
(10-10-2015, 04:19 PM)Seadragon91 Wrote: I tested the entity changed world hook. It works on my side. After I changed the world, I get teleported to the coordinates.
Reduced code:
function OnEntityChangedWorld(Entity, World) LOG("Entity changed world") if Entity:IsPlayer() then LOG("Entity is a player.") Entity:TeleportToCoords(1034, 69, 660) end end
Thats weird, for me it doesn't work at all. Might be the version I'm using maybe? I'm using the GIT version i believe (used the DigitalOcean installation). Probably the devs can help out with this, since It refuses to teleport after world change :p