User Tools

Site Tools


cw4:4rpl_console

This is an old revision of the document!


the 4RPL Console

The Console is available during map editing to test, evaluate and debug scripts. It is an independent execution unit that is not associated with a specific unit on the map. It has it's own Unit ID (UID=0) and is identified Differently in the Print Log. Trace Output is provided in the Output Window.

The console allows for scripts to be

  • compiled (with the compilation results shown in the output window.
  • run once (a compile will precede the run)
  • run continuously until the stop button is pressed (a compile will precede the run)

Note that the script will run regardless of whether the game is paused. If you expect your script to interact with Creeper flow, or effect unit movement, etc, the game should not be paused.

cw4/4rpl_console.1575645014.txt.gz · Last modified: 2025/02/14 14:56 (external edit)