Rule Types

Any Message that is sent to the Game Rules system needs to be broadcast to All receivers or explicitly to Rules.

It is possible to enter negative values to reduce a variable.

Math

Math Rules allow you to change a variable:

  • Add/Subtract number

  • Multiply number

  • Add/Subtract number continuously

Comparisons

Comparison Rules allow you to check a variable against a static value or range of values:

  • Check if Number is in Range

  • Compare Numbers

  • Compare time

Time

Time Rules allow you to create timers and stopwatches that can be affected by player actions:

  • Start Timer

  • Add/Subtract Time

  • Pause Time

  • Stopwatch

  • Set Time Value

Set Variable Values

Set variable values allow you to generate a random number or set variables (except for time):

  • Roll a Random Number

  • Set Number Value

  • Set Text Value

  • Set True/False Value

Game Screen

Game Screen variables allow you to control what appears on the player's screen:

  • Banner

  • Display Variable on HUD

  • Popup Window

Last updated

Logo

Copyright © 2012- 2023 The Sandbox. All Rights Reserved.

Change request #15: 0.9 Draft - DO NOT MERGE UNTIL LAUNCH