Jump to content

How to get Spawn Points


TungstenX

Recommended Posts

Good day,

How do I get the spawn points, in single player, for the current loaded map?

I found a spawnpoints.lua file in the map directory, with a function called SpawnPoints and saw there is a SpawnPoints java class but when I try the following, I get an error:

require "SpawnPoints"
print('SpawnPoints: ' .. SpawnPoints())

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...