Jump to content

Recommended Posts

Posted (edited)

I have a scenario where I can choice start position from a drop down menu.
If I spawn the player inside a train it works fine since the train position is defined by signal name with FindSignal("signal name"). 
But if i spawn the player outside I want to set, or teleport, player to a specific coordinate. I have tried the command SetPlayerPosition without success.
One thing I don't understand is that SetPlayerPosition only takes parameters X and Y but the developer tool (F8) displays Camera Position with three values and I can't find a X and Y coordinate for player position.
Has anyone used SetPlayerPosition command with success? If so how do you know what coordinates to use?

Edited by lars.oj.lindner
  • Recently Browsing   0 members

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

Important Information

Terms of Use Privacy Policy