====== Command (XG class) ======
Class = command
Executes a console command.
===== Parameters =====
^ Prm^ Name^ Type^ Meaning |
| Sp0| | String| The console command to be executed. Note that semicolons can be used to separate any number of commands, so this is perfectly legal: fog on; fog end 500 |
===== Example =====
  
  Line Type {
      ID = 5031
      Comment = "Turn fog on when player crosses"
      Flags = player_cross
      Flags2 = when_act | any
      Class = command
      Count = 1
      sp0 = "fog on"
  }
When this line is crossed, the console command "fog on" will enable fog until it is disabled.