#Code: Change wind values

5 messages · Page 1 of 1 (latest)

whole aurora
#

Examples:
Set the wind's Y strength to 0:
SET wnd0.StrengthY 0
If the wind's strength is not 0, set it to 1:

END
LABEL Label0 
SET wnd0.StrengthY = 1
END```

> 🪄 Imaginative code from Pixie in GASM is in beta. If this code goes wrong, please notify us below.
hasty boughBOT
whole aurora
#

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.