Is there a way to use setpos to teleport a player to an object rather than fixed location ?
This works :
player setPos [1576.3456, 15340.697, 0.001];
But this won't :
player setPos (getpos My_Object);
It must be an object because the objects location changes, I'm making a mine addon and the entrance changes per restart, so leaving the mine the player needs to go back to the entrance, entering can stay a fixed location.
Question
Richie
Is there a way to use setpos to teleport a player to an object rather than fixed location ?
This works :
But this won't :
It must be an object because the objects location changes, I'm making a mine addon and the entrance changes per restart, so leaving the mine the player needs to go back to the entrance, entering can stay a fixed location.
Thanks in advance :)
Link to comment
Share on other sites
25 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now