Kazzyn Posted August 22, 2016 Share Posted August 22, 2016 (edited) So I've got an empty room that I need to move the player into once a state in my quest is begun. The target destination is an XMarkerHeading static object. When moveTo(marker) is called on the player, they end up being placed in the center of the cell (0, 0, 512) and are suddenly standing on top of a chandelier that just so happens to be in that exact position. To further test this, I placed in a button with an OnActivate() event to move the player to the same destination that the XMarkerHeading is at, which actually moves the player to the intended location. I'm led to believe something's going amiss during the time the cell loads. The code in my event is: Event OnBeginState() playerRef.moveTo(theMarker) utility.wait(2.0) ;temporary playerRef.moveTo(theMarker) ;Tried to wait 2 seconds after cell loaded - still not working RegisterForSingleUpdateGameTime(0.25) EndEvent Can anyone shed some light on this little quirk? EDIT: Things I've tried:-Ensured theMarker property had the correct XMarkerHeading assigned-Moving the XMarkerHeading around-Deleting possible colliding objects around the XMarkerHeading Edited August 22, 2016 by Kazzyn Link to comment Share on other sites More sharing options...
IsharaMeradin Posted August 22, 2016 Share Posted August 22, 2016 Make sure the property for 'theMarker' is filled in the Creation Kit. And if you are not already, do your testing on a new game. Link to comment Share on other sites More sharing options...
Kazzyn Posted August 22, 2016 Author Share Posted August 22, 2016 The right reference is definitely filled in the property. I've quadruple checked that. The strange thing I don't get is why my quest struggles to move the player, but not the test button I put in the same cell. They both call the moveTo() function. Link to comment Share on other sites More sharing options...
Recommended Posts