GODSBANE123456 Posted July 27, 2010 Share Posted July 27, 2010 When i try to use the moveto command on anything other than the player, it gives me this error Non-persistent reference '...' cannot be used in a script. the line that is giving me this problem is: Creatureid.moveto TargetRat but i have a very similar thing that is: player.moveto TargetRat_ that works perfectly as i want it to with no errors Can anyone tell me an easy fix to my problem, or if not a fix, atleast why it is not allowing me to do so? thanks in advance, this is what I feel like right now with this, i got so far on scripting this mess today, then...http://www.thenexusforums.com/public/style_emoticons/dark/wallbash.gifhttp://www.thenexusforums.com/public/style_emoticons/dark/verymad.gifhttp://www.thenexusforums.com/public/style_emoticons/dark/excl.gifhttp://www.thenexusforums.com/public/style_emoticons/dark/nuke.gif Link to comment Share on other sites More sharing options...
slygothmog Posted July 27, 2010 Share Posted July 27, 2010 Find the creature in the render window and double click upon it, at the very top of the new box that opens you will see Reference Editor ID...place an ID for it here and check the persistent reference box if you need to. Then use this Ref in your script. eg you call it RottingZombieRef RottingZombieRef.moveto TargetRat Link to comment Share on other sites More sharing options...
GODSBANE123456 Posted July 27, 2010 Author Share Posted July 27, 2010 thank you, all i needed was to check the persistent reference box, i had already had a reference id in there Link to comment Share on other sites More sharing options...
Recommended Posts