Replace Variable Values
Last updated
Was this helpful?
Last updated
Was this helpful?
Loot systems
Turn-based battle systems
Memory-based puzzle games
Upgrading outcomes with a random chance to obtain rare items
Spawning rare monsters, equipment, bosses, quests, events
Providing different outcomes for the same quest
Lockouts
Puzzles
Set Broadcast Type to All or Rules to send messages from objects to the Rules System.
Use the Set Number Rule to simply set a number variable to a new value. This can be used to reset a value to 0.
The Set True/False allows creators to change a Bool from True to False or from False to True. This could be useful when trying to adjust the visibility of the Rules UI.
The Set Text value Rule allows creators to change text variables based on an incoming message. This can be used to reuse a variable for different banners, or show quest like messages in the UI.
This rule replaces the value of the text variable with the username of the player that triggered the rule.
The Choose Random Number Rule is a quick and accessible way to create random numbers. It is possible to define the range in which the number will lie and send a message after the value is applied to a variable. This allows creators to create random based events, like enemy spawns or opening paths in a maze or simple dice rolls.