User Tools

Site Tools


tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
tips [2018/02/16 11:53]
omid [Examples]
tips [2018/02/16 11:59]
omid
Line 3: Line 3:
 ===Generating Random Numbers=== ===Generating Random Numbers===
  
-If you need to generate ​a random number ​in your script ​you can use the Variable Node. You can easily drag and drop a variable from variable menu into the variable name field, or type in your variable name. Then the Randomize button will on variable node. You can generate a random number between 0 and 100 by clicking on this button.+The predefined variable ''​{random0to1}''​ can be used to generate a random number. ​If you need to assign ​a random number ​to a variable ​you can use the Variable Node. You can easily drag and drop a variable from variable menu into the variable name field, or type in your variable name. Then the Randomize button will on variable node. You can generate a random number between 0 and 100 by clicking on this button.
  
 ====Examples==== ====Examples====
 {{::​variablenode.jpg?​200}} → {{::​variablenode2.jpg?​180|}} {{::​variablenode.jpg?​200}} → {{::​variablenode2.jpg?​180|}}
tips.txt · Last modified: 2018/02/16 12:01 by omid