Skip to content

Issue solved no help needed

BeaverMageBeaverMage Member Posts: 20
edited July 2019 in Builders - Scripting
object oWaypoint = GetLocation(GetObjectByTag("wt_KhirTorumTowerUp",0));


I keep getting the "MISMATCHED TYPES" error in the compiler. I'm trying to get get the location of a waypoint and teleport the player to the waypoint instead of using a standard door.
Post edited by BeaverMage on

Comments

  • BeaverMageBeaverMage Member Posts: 20
    Alright >.> I sorta found the answer after posting... And yes the answer was pretty obvious... GetLocation returns a location not an object so you can't store an location in an object. If anyone else was as dumb as me the code should have been

    location lWaypoint = GetLocation(GetObjectByTag("wt_KhirTorumTowerUp",0));
Sign In or Register to comment.