#Code: Change wind values
5 messages · Page 1 of 1 (latest)
Wind script works. IF block jumps if strength nonzero. Label resets to 1. All good.
Change the wind's X strength to a random number:
RAND wnd0.StrengthX 5
Change the wind block to fling if Y strength is 1 or more:
END
LABEL Label0
SET wnd0.Mode = 1```
Registers:
- wnd0.StrengthX - The strength of the X direction
- wnd0.StrengthZ - The strength of the Z direction
- wnd0.StrengthY - The strength of the Y direction
- wnd0.Mode - Wind modes. 0 = default, 1 = fling. If register is set to above 1 or below 0, it will be changed to default.