caracal5 Posted September 16 Share Posted September 16 I want to teleport an actor to a marker that is not a specific marker on a ship. It is a marker that exists on every ship. When I try to call this via: Man.GetActorRef().moveto(ShipPassengerMarker) It causes a compile erro: type mismatch on parameter 1 - cannot pass a referencealias to a objectreference How would I fix that? Link to comment Share on other sites More sharing options...
SKKmods Posted September 16 Share Posted September 16 Man.GetActorRef().moveto(ShipPassengerMarker.GetReference()) If you dont understand the difference between a ReferenceAlias and an ObjectReference read the relevant pages like https://ck.uesp.net/wiki/Quest_Alias_Tab#:~:text=Reference Aliases can be applied,a non-actor reference). Link to comment Share on other sites More sharing options...
caracal5 Posted September 16 Author Share Posted September 16 (edited) 9 hours ago, SKKmods said: Man.GetActorRef().moveto(ShipPassengerMarker.GetReference()) If you dont understand the difference between a ReferenceAlias and an ObjectReference read the relevant pages like https://ck.uesp.net/wiki/Quest_Alias_Tab#:~:text=Reference Aliases can be applied,a non-actor reference). I don't understand entirely. For example in my quest I have a furniture and a xmarkerheading, both are specific reference alias as fill type, however in the script I had to turn the furniture into an object reference property for it to work, however the xmarkerheading works as a reference alias property. And I do not understand why. Aren't both objects that are placed in the gameworld? Edited September 16 by caracal5 Link to comment Share on other sites More sharing options...
SKKmods Posted September 17 Share Posted September 17 That is most probably an issue with your property and object typing discipline. Link to comment Share on other sites More sharing options...
Recommended Posts