Jump to content

SetPos help


Rezubi

Recommended Posts

hey guys,

 

So I am having issues trying to compile a script that moves an NPC to a specified location:

 

JFJohnFargo.setpos X 34876.1680 Y 67101.8281 Z 3724.5027

 

However, I get the error that "JFJohnFargo" is an invalid reference and that only object references are reference variables are allowed, how do I find the ref id for my npc?

 

thanks for any help,

Link to comment
Share on other sites

Ok, I named the reference so now it's:

 

JFJohnFargoREF.setpos X 34876.1680 Y 67101.8281 Z 3724.5027

 

but, now I am getting an error that JFJohnFargoREF is a none persistent reference.

 

Edit: Never mind I fixed that by ticking "Persistent Reference" thanks for the help.

Edited by Rezubi
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...