2018-07-04 15:18:16 -07:00

11 lines
444 B
Plaintext

# Run this script to replicate the MathComponent tutorial
MS_DO_MATH, 2.0, 3.0, ADD # Add two numbers together
MR_SET_FACTOR1, 2.0 # Set factor1 to 2.0
MS_DO_MATH, 2.0, 3.0, ADD # Re-run math operation with new factor1 value
WAIT, 2 # Wait two seconds
FACTOR2_PRM_SET, 10.0 # Set factor2 to 10.0
MS_DO_MATH, 2.0, 3.0, ADD # Re-run math operation with new factor2 value
FACTOR2_PRM_SAVE # Save parameter
PRM_SAVE_FILE # Save parameters to disk