This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.
Returns true or false based on the selected option from the game setup menu option under, Map Setup → Locations → Team Starting Locations. There are two options, "Random Locations", which is true, and "Teams Together" which is false.
worldTerrainWidth
int
Returns the current map width e.g. 416, 512, 640, 768, 896
worldTerrainHeight
int
Returns the current map height e.g. 416, 512, 640, 768, 896
Functions
Function
Parameters
Returns
Description
worldGetRandom()
null
float
Returns random float between zero and one. If you are getting random numbers, you must use worldGetRandom(), as that ties the map script to the seed for determinism across all players. (you will sync error without it)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.