Module MetalMap
Metal Map Lua API
See also:
Functions
Functions
Spring.SetMetalAmount(x, z, metalAmount)
Parameters:
-
x
number in worldspace/16. -
z
number in worldspace/16. -
metalAmount
number must be between 0 and 255*maxMetal (with maxMetal from the .smd or mapinfo.lua).
Returns:
- nil