All public logs

Combined display of all available logs of Commander Wars. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 04:12, 13 September 2023 XnKradst talk contribs created page Script Variables (Created page with "Instead of regular JavaScript variables and properties (not to be confused with buildings), Commander Wars uses what are known as '''Script Variables''' to store data that can then be accessed across multiple functions. For example, let's say you want to make a CO that keeps track of the number of attacks made during a turn. While normal JavaScript variables and properties might suffice, they come with a couple issues: *They are not stored in game saves. This means if...") Tag: Visual edit