A list of all Actions, Conditions and Expressions supported in this addon.
General
-
Conditions
Chance {0}
Returns true with a given chance
-
Expressions
GetRandomToken
Gets a random token from a string
GetRandomFromCSV
Gets a random value from a comma seperated string
GetRandomFromCSVWeighted
Gets a random value from a comma seperated string with weights
RandomFromJsonArray
Gets a random value from a JSON array
Dice
-
Actions
Roll {0}d{1}+{2} with tag ({3})
Rolls a number of dice with a number of sides and adds a modifier
-
Expressions
Roll
Rolls a number of dice with a number of sides and adds a modifier
GetDiceFromLastRoll
Gets a die from the last roll
GetDiceRollSum
Gets the sum of a roll
GetDiceRollValue
Gets the value of a roll
Data
-
Actions
Load JSON Data {1} with tag ({0})
Loads JSON data, That can be used for random selection
-
Expressions
RandomString
Generates a random string
RandomNumber
Generates a random number
RandomStringFromPool
Generates a random string from a pool of characters
Guid
Generates a Guid
Seed
-
Actions
Set seed to {0}
Sets the seed to use for the RNG
Position
-
Actions
Pick Random Position In Layout
Picks a random position in the layout, can access using RandomX and RandomY expressions
Pick Random Position In Layout With Margin {0}
Picks a random position in the layout with a margin, can access using RandomX and RandomY expressions
Pick Random Position In Viewport
Picks a random position in the viewport, can access using RandomX and RandomY expressions
Pick Random Position In Viewport With Margin {0}
Picks a random position in the viewport with a margin, can access using RandomX and RandomY expressions
Get Random Position In Rect (left:{0}, top:{1}, right:{2}, bottom:{3})
Gets a random position in a rect
Pick Random Position In Sprite {0}
Picks a random position in a sprite, can access using RandomX and RandomY expressions
Pick Random Position In Circle (x:{0}, y:{1}, radius:{2})
Picks a random position in a circle, can access using RandomX and RandomY expressions
-
Expressions
RandomX
Gets the last random X position
RandomY
Gets the last random Y position