random-chooser

Overview

On activation, fires a random event based on controlled probability. 


Inputs

activateActivates the block.

Outputs

out-0, out-1, out-2,...,out-29
  • Fires one random event from out-0 to out-29.
  • You can set the number of outputs in the Output Quantity property.

Refs

  • N/A

Properties

Output Quantity

The number of outputs.

For example, with Output Quantity = 16, a total of 16 different outputs will be generated and you will therefore be able to fire 16 different events based on the current value.

Prob-0, Prob-1, Prob-2,..., Prob-29Probability or weight of each of the outputs.

Usage examples

Clones a loot object from a random source (either metal or chemical), and then randomly decides how much loot the player will get based on the probabilities set in the random-chooser's properties.

Shortcuts

R+LMB

See also


On this page:


Exodus SDK © 2005-2023, 4A Games Limited. Developed by 4A Games®.
4A Games® is a registered trademark, and 4A Games Limited, Exodus SDK and their respective logos are trademarks of 4A Games Limited.
Published by Deep Silver. Deep Silver is a division of PLAION GmbH, Austria. Deep Silver and Plaion are registered trademarks of PLAION GmbH.
Metro Exodus is inspired by the internationally best-selling novels METRO 2033 and METRO 2034 by Dmitry Glukhovsky.
All other trademarks, logos and copyrights are property of their respective owners. All rights reserved.
By using this site, downloading or using the Exodus SDK or related content, you are agreeing to be bound by the terms of the End User License Agreement.


EULA