Rule type 1: Interval

Learn how to write rules, as well as share and ask questions about rules.
Locked
admin
Site Admin
Posts: 24
Joined: Thu Feb 24, 2022 3:47 pm

Rule type 1: Interval

Post by admin »

admin
Site Admin
Posts: 24
Joined: Thu Feb 24, 2022 3:47 pm

Re: Rule type 1: Interval

Post by admin »

List of available parameters
?//
Meaning: Annotation, all rule nodes have this parameter.
Valid format: STRING
Default value: NULL

?name:
Meaning: Node name, all rule nodes have this parameter.
Valid format: STRING
Default value: NULL


?clip:
Meaning: Enter a music clip name. Can only be a valid name under the tree node「Jigsaw Clips」.
Valid format: [STRING]
Default value: NULL

?sound:
Meaning: Specify one or several consecutive behavior actions for the clip.
Valid format: combination of values from the available values
Available values:
------------------
.noname: For the default target sound object. This is the default value.
.all: For all added target sound objects.
.[STRING]: For the specified target sound object.
add: Add a music clip to the target sound object. 「.all」 target sound object is not supported.
del: Delete the target sound object.
play: Play the target sound object.
stop: Stop playing the target sound object.
loop NUMBER: Modify the number of playback loops of the target sound object.The default value is「loop 1」,「loop 0」 means infinite loop.
------------------
Default value: NULL

?interval:
Meaning: The duration of the rule node.
Valid format: One of the available values.
Available values:
------------------
#sys.time: Non-writable predefined time variable. Record how long the training has been running.
#sys.number: Non-writable predefined numeric variable. Record the execution result of each rule node, concrete values depend on different rule node types.
#var.score: Predefined numeric variable. Modifying the value of this variable will refresh the software window at the same time to display the score in real time.
#var.[STRING]: Custom numeric variable. The default value is 0.
NUMBER: The format is「hours:minutes:seconds」, it also supports one digit after the decimal point, for example,「5:2」 or「5:2.5」, etc.
------------------
Default value: 0

?nobreak:
Meaning: Prohibit jumping to the specified node type during the current node duration.
Valid format: One of the available values.
Available values:
------------------
button: The specified node type is「Button」.
limit: The specified node type is「Limit」.
both: 「Button」and「Limit」.
------------------
Default value: NULL
admin
Site Admin
Posts: 24
Joined: Thu Feb 24, 2022 3:47 pm

Re: Rule type 1: Interval

Post by admin »

Continuous updates
Locked