Skip to content

GetRandomFromCustomTableBlock

14.15

Class Documentation

Edit documentation

A block that picks a random entry of a custom table. Every entry has the same chance. The block writes the key of the entry to KeyDest and its value to Dest. If ShouldRemove is true, the block then removes the entry from the table. If the table is empty, the block writes nothing.

Properties

ShouldRemove

Bool = false
Edit documentation

If true, the block removes the picked entry from Table.