FANDOM


Longship

Harata to Dilmun


The boat trip between Harata and Dilmun is at present achieved with a simple teleport script. A script is attached to an invisible activater on the mast of the longship in each port. Next to each activator is an Xmarkerheading to act as the object reference for the script in the opposite port


Scriptname AllKDilmunHarataBoat extends ObjectReference

ObjectReference Property TargetLocation Auto

Event OnActivate(ObjectReference akActionRef)

Game.GetPlayer().MoveTo(TargetLocation)

Game.EnableFastTravel()

Game.FastTravel(TargetLocation)

EndEvent

Scriptname AllKHarataDilmunBoat extends ObjectReference

ObjectReference Property TargetLocation Auto

Event OnActivate(ObjectReference akActionRef)

Game.GetPlayer().MoveTo(TargetLocation)

Game.EnableFastTravel()

Game.FastTravel(TargetLocation)

EndEvent

ROWBOAT

Dilmun to Small Island

This is achieved in the same way as above, except in this case each of row boats in the two locations are the activators (don't use a static rowboat - it won't work) . 


Scriptname AllRowtoIsland extends ObjectReference

ObjectReference Property TargetLocation Auto

Event OnActivate(ObjectReference akActionRef)

Game.GetPlayer().MoveTo(TargetLocation)

Game.EnableFastTravel()

Game.FastTravel(TargetLocation)

EndEvent

Scriptname AllRowtoDilmun extends ObjectReference

ObjectReference Property TargetLocation Auto

Event OnActivate(ObjectReference akActionRef)

Game.GetPlayer().MoveTo(TargetLocation)

Game.EnableFastTravel()

Game.FastTravel(TargetLocation)

EndEvent