User Tools

Site Tools


cw4:4rpl_console

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cw4:4rpl_console [2019/12/06 13:19] – Typo fixes blueboltcw4:4rpl_console [2023/01/17 03:50] (current) – truncation Karsten75
Line 1: Line 1:
 ===== The 4RPL Console ===== ===== 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'own Unit ID (UID=0) and is identified  Differently in the Print Log. Trace Output is provided in the Output Window. + 
 +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 its own Unit ID (UID=0) and is identified  differently in the Print Log. Trace Output is provided in the Output Window((The Output Window will truncate long outputs after approx. 250 lines. )).
  
 The console allows for scripts to be 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) +  * {{console_edit.png?40}} Edited in the editor of your choice(( 
-  * run continuously until the stop button is pressed (a compile will precede the run) +See [[cw4:tutorials:file_association|Creating a file association for .4rpl files]] 
 +)) 
 +  {{console_compile.png?40}} Compiled (with the compilation results shown in the output window)  
 +  * {{console_run_once.png?40}} Executed (runonce (a compile will precede the run) 
 +  * {{console_run.png?40}} Executed (runcontinuously, once per game update,  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. 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.
  
 {{4rpl console.png}} {{4rpl console.png}}
 +
 +
cw4/4rpl_console.1575656356.txt.gz · Last modified: 2019/12/06 13:19 by bluebolt