Hi !
I am working on a script that, aside from other things, "fast travels" or "teleports" you to the nearest shrine of Arkay
This is the part of the code that is supposed to do this:
game.EnableFastTravel(true)game.FastTravel(Game.FindClosestReferenceOfTypeFromRef(ShrineofArkay,Game.GetPlayer(), 99999999999999999))game.EnableFastTravel(false)
In the wiki for "FindClosestReferenceOfTypeFromRef" says that the first argument must be "The type of base object to look for", but I can′t find the one that corresponds to the Arkay shrine, or to any shrine.
I know a good amount of programming, but I am new to Papyrus and the Creation Kit, so maybe I am approaching this from the wrong angle. So any suggestion or help will be very welcome !