Difference between revisions of "Talk:MoveTo"
Jump to navigation
Jump to search
imported>Elec0 |
imported>Elec0 |
||
Line 7: | Line 7: | ||
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. | ||
--[[User:Elec0|Elec0]] 00:19, 8 February 2012 (EST) |
Revision as of 00:19, 8 February 2012
If I try this script on an object with the reference placed in the worldspace and named.
Scriptname E0HelloWorld extends ObjectReference Event onActivate(ObjectReference akActivate) Debug.Notification("Teleporting...") akActivate.MoveTo(WhiterunCOCREF) EndEvent
And it gives me the error that WhiterunCOCREF isn't defined, when I've set the name of the reference to that.
--Elec0 00:19, 8 February 2012 (EST)