Quest var randomize

From AgeofWiki

(Redirected from Quest Var Randomize)

Quest var randomize is an Effect which is accessed from the Triggers menu. You can learn more about the Triggers window here. You can learn more about using effects here.


Image:
Image:QuestVarRandomize.jpg

Effect Description:

This effect gives a Quest Var a random value.

Effect Parameters:

Var Name: The name of the Quest Var that should get the random value.
Min Value: The lowest random value possible.
Max Value: The greatest random value possible.
Rounding: If set to ON, the random value will be an integer number, without decimals.

Notes:

  • Example: If Min Value = 2, Max Value = 7 and Rounding = ON, then the possible values are 2, 3, 4, 5, 6 and 7.
    If Min Value = 1, Max Value = 50, and Rouding = OFF, then the possible values are nearly infinitive: 1.83489753, 34.98273432, 49.99999999, etc.
  • This effect is very useful for creating random events. It becomes even more powerful when using additional custom Quest Var trigger members.

Still don't understand the Quest var randomize effect? Ask a question (http://aoe3.heavengames.com/cgi-bin/forums/display.cgi?action=t&fn=12&f=12,,0,365) at our forum!

Back to Effects