randomex

Overview

Fires a random event upon activation. Additionally, you can manually forbid or allow each individual event to fire. For example, if you don't want two random events happening in a row, you can forbid the event right after it's fired.

Inputs

activateActivates the block.
on – 0,1,...29Allows the event to be fired.
off – 0,1,...29Forbids the event from being fired.

Outputs

out – 0,1,...29
  • Fires a random allowed event from out-0 to out-29.
  • You can set the amount of outputs in the Output Quantity property.
failedIf all outputs are currently forbidden, this fires an event.

Refs

  • N/A

Properties

Output Quantity

The number of outputs.

For example, with the 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.

ON – 0,1,...29Enables/disables available outputs.
Weight – 0,1,...29You can set which randomness is more likely to fire a certain output.

Set the weight of each output. Outputs with more weight will fire more often.

Usage examples

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