Difference between revisions of "MoveTo - ObjectReference"

Jump to navigation Jump to search
no edit summary
imported>JustinOther
imported>Necrossin
Line 39: Line 39:
<source lang="papyrus">
<source lang="papyrus">
; Moves a portal 120 units in front of the player, 35 units under their height
; Moves a portal 120 units in front of the player, 35 units under their height
Portal.MoveTo(Game.GetPlayer(), 120 * Math.Sin(Game.GetPlayer().GetAngleZ()), 120 * Math.Cos(Game.GetPlayer().GetAngleZ()), Game.GetPlayer()GetHeight() - 35)
Portal.MoveTo(Game.GetPlayer(), 120 * Math.Sin(Game.GetPlayer().GetAngleZ()), 120 * Math.Cos(Game.GetPlayer().GetAngleZ()), Game.GetPlayer().GetHeight() - 35)
</source>
</source>


Anonymous user

Navigation menu