Difference between revisions of "Talk:MoveTo"

Jump to navigation Jump to search
No change in size ,  00:19, 8 February 2012
no edit summary
imported>Elec0
(Created page with "If I try this script on an object with the reference placed in the worldspace and named. Scriptname E0HelloWorld extends ObjectReference Event onActivate(ObjectRefer...")
 
imported>Elec0
Line 2: Line 2:


   Scriptname E0HelloWorld extends ObjectReference   
   Scriptname E0HelloWorld extends ObjectReference   
   Event onActivate(ObjectReference akActivate)
   Event onActivate(ObjectReference akActivate)
  Debug.Notification("Teleporting...")
      Debug.Notification("Teleporting...")
    akActivate.MoveTo(WhiterunCOCREF)
      akActivate.MoveTo(WhiterunCOCREF)
   EndEvent
   EndEvent
And it gives me the error that WhiterunCOCREF isn't defined, when I've set the name of the reference to that.
And it gives me the error that WhiterunCOCREF isn't defined, when I've set the name of the reference to that.
Anonymous user

Navigation menu