PDA

View Full Version : Remember location function?


Weavel
08-17-2009, 11:24 AM
Is there a script function that can be used to create a temporary waypoint based upon the players location, so that after loading another module, it can go back to the exact place the player was before it loaded the other module?

R2-X2
08-17-2009, 12:36 PM
Should work with a spawn script if you use OBJECT_TYPE_WAYPOINT instead of OBJECT_TYPE_PBJECT. You can get the Location with something like GetFirstPCLocation or sth like that.