Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bge
- scene = bge.logic.getCurrentScene()
- marker = str(scene.objects['player_avatar']['spawnMarker'])
- respawn_marker = scene.objects[marker]
- respawn_marker_location = respawn_marker.worldPosition
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement