Comparisons
Last updated
Was this helpful?
Last updated
Was this helpful?
Buying items
Checking if a player has completed a task
Verifying if a player possesses the correct item
Determining if a player has specific items equipped
Triggering events based on value ranges
Initiating random events based on values
Unlocking quests
Verifying puzzle completion by the player
Checking if the player has entered the correct sequence
Set Broadcast Type to All or Rules to send messages from objects to the Rules System.
With the Compare numbers Rule it is possible to compare a number variable with another value. When the condition is met a message will be sent. This can be used to trigger a victory event when a player scored enough goals or to define which team has won in a multiplayer game. The Rule can be set up to check immediately upon receiving the trigger or can wait for the condition to be true to send the outgoing message.
It is possible to use different conditions like equals or greater than to cover a multitude of uses.
This rule checks a true/false value and sends a message if either true or false.
The Check if number is in range Rule will check whether a value is within a predefined range. The Rule can be set up to check immediately upon receiving the trigger or can wait for the condition to be true to send the outgoing message.