Script Variables: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

18 September 2023

14 September 2023

13 September 2023

  • curprev 04:1204:12, 13 September 2023XnKradst talk contribs 769 bytes +769 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