Get Random N Objects
Last updated
Last updated
Gets N objects from the Object List at random
Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.
Object List
Object List
Yes
Object list that objects will be pulled from.
Object Count
Number
Yes
How many objects to pull from the list.
New Object List
Object List
A new list of the random objects pulled out of the given object list.
Takes an input list and provides N objects from it, selected randomly and in a random order.
This node will only return up to X-1 objects, where X is the size of the input list. This is especially prevalent when the list being pulled from has a dynamic size and could potentially only have a single object in it, or if Get Random N Objects is being used to randomize the order of a list. To get around this issue, the solution is to take the input list and combine it with the output of the Get Random N Objects node. This will take the missing object and add it to the end of the list.
Contributors Captain Punch VidGamesPete AddiCt3d 2CHa0s