Skip if S-variable

<kuid2:160293:101014:3>

Author: trev999
Kind: drivercommand
Build: 2.9
Size: 25.12KB
Uploaded: 2023-10-07
Loadings:
1
-
0
+

Skip if S-variable

Version 1.3 2013-03-28
A driver command to skip driver schedule commands if certain conditions are met. These conditions are chosen from the command's menu list and they must be inserted into the menu through use of the the InputTable rule. See the driver command 'ChangeSVariables' for details of the format.
Once a command option is added to the InputTable rule, it will appear in the Skip If S-Variable command menu.

Skipping occurs if the conditions are met, and will continue until a 'Label' command with the corresponding number is encountered. Use the new driver command 'Insert buff label' to define where the skip operation will stop.

Example:
Skip to Label 1 if My Variable is equal to 1
Skip to Label 9 if consist_count is less than 4

Use the new driver command 'Jump to label' to unconditionally bypass sections of the driver schedule.

Thanks to Atila Barut for the original framework and to Lots_Trains for beta testing.

Author: trev999

    Skip if S-variable
  • config.txt 3.16KB
  • screenshot.jpg 12.88KB
  • skipifsvarcommand.gs 9.00KB
  • skipifsvarschedulecommand.gs 6.75KB
  • tag.texture.txt 41 bytes
  • tag.tga 64.02KB

Freeware, no warranty. No commercial use without author's permission

User photos

No one has added a photo of this object yet