Wait Until S-variable
<kuid2:160293:101006:2>
Author: | trev999 |
Kind: | drivercommand |
Build: | 2.9 |
Size: | 20.61KB |
Uploaded: | 2023-10-07 |
Loadings: |
1
-
+
|
Wait Until S-variable
Version date 2014-08-29
A driver command to hold the driver schedule until certain conditions for a selected session variable are met.
These conditions are chosen from the command's menu list and should be inserted into the menu through the Input Table rule.
This command is based on a command 'WaitUntilSVariable' by Atila Barut but uses a different Input Table format.
The menu is constructed in two parts -
variable names are defined by:
svname, <varname>
operations take the form:
svar, <comparator>, <constant value>
or
svar, <comparator>, <s-variable name>
Terms are separated by commas.
Valid comparators are: eq, lt, gt, le, ge, ne
where
eq means 'equal to'
lt means 'less than'
gt means 'greater than'
le means 'less than or equal to'
ge means 'greater than or equal to
ne means 'not equal to'
Examples of input table entries:
svname,test 1
svname, consist_length
svar,eq,2
svar, gt, 10
svar, gt, consist_length
Once a set of entries is added to the InputTable rule, they will appear as options in the menu of this command.
Use can be made of the driver command 'ChangeSVariables' to modify the values of variables, using the original Input Table format.
If this is done then it advisable to maintain two input tables. Keep all the new format entries in the first input table and those for the old format in the second table.
Associated commands: Skip If S-Variable, ChangeSVariables
Associated rule: Session Variables
Thanks to Atila Barut for permission to use the original framework and to Lots_Trains for beta testing.
Author: trev999
- Wait Until S-variable
- config.txt 3.37KB
- screenshot.jpg 10.88KB
- tag.tga 64.02KB
- waituntilsessionvariablecommand.gs 6.29KB
- waituntilsessionvariableschedulecommand.gs 5.23KB
- waituntilsvariable.texture.txt 41 bytes
User photos
No one has added a photo of this object yet
Comments:
Sign in to post a comment