-
Notifications
You must be signed in to change notification settings - Fork 90
random_select
Ryzom Core Wiki edited this page Jul 8, 2024
·
5 revisions
title: Random Select description: published: true date: 2023-03-16T23:14:05.097Z tags: editor: markdown dateCreated: 2023-03-16T22:32:39.569Z
The random_select action executes one of its child actions at random.
At the moment, the weight values of the child actions are not applied, and all actions have the same weight for the randomizer. The weight parameter is currently only used for ordering the child actions in multi-action sets.
This action takes no parameters.
- Multi Actions: An action that executes all child actions in sequence. This action can be useful when you want to perform a series of actions in a specific order.
-
Null Action: An action that does nothing. This action can be useful in combination with
random_select
to create actions that are not always executed. -
Code: An action that executes a block of AI script code. This action can be used for more advanced random selection logic and branching that cannot be achieved with
random_select
.