Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4507
Auto-translated
All of this is to reduce the likelihood of errors due to inattention; repeating long, complex lines that are difficult to visually process, such as
SetPlayerResource(1, SULFUR, GetPlayerResource(1, SULFUR)-50)
will ultimately most likely lead to typos like
SetPlayerResource(1, SULFUR, GetPlayerResource(2, SULFUR)-50)
or
SetPlayerResource(1, SULFUR, GetPlayerResource(1, GOLD)-50)
which will not be very obvious and will surface later on.