Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generate Random Number in a Trigger
#1
Dean, All,

How does one generate a random # in a trigger.  I want to have a value set randomly between 1 -5?  I did not see a random function in any of the menu options.


Thanks!
-Ben
Reply
#2
There is a System:GenRandNum I think it's called which will do that for you.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  HTTP Trigger and Parameters znelbok 1 126 06-11-2020, 03:41 PM
Last Post: Dean Roddey
  Week Number RTV znelbok 1 332 10-22-2019, 06:58 PM
Last Post: Dean Roddey
  NetworkMonitor / Presence Info trigger? gReatAutomation 17 2,597 09-24-2019, 01:08 PM
Last Post: gReatAutomation
  HTTP Trigger Driver - see trained URL's? Shaky 1 517 09-15-2019, 12:25 PM
Last Post: Dean Roddey
  What is the trigger? xlurkr 4 644 08-04-2019, 05:55 PM
Last Post: xlurkr
  What would the proper trigger to be for a time or a X min before sundown? ghurty 1 824 01-10-2019, 10:08 AM
Last Post: Dean Roddey
  Can't find a rule/trigger IVB 5 1,210 12-10-2018, 06:03 PM
Last Post: Dean Roddey
  Auto Generate general question carealtor 4 1,324 11-12-2018, 09:22 PM
Last Post: carealtor
  Latching Trigger Enhancement: both transitions rbroders 5 2,370 10-27-2018, 03:44 PM
Last Post: Dean Roddey
  Bug with Trigger Screen in AI kblagron 2 1,403 09-07-2018, 08:47 PM
Last Post: kblagron

Forum Jump:


Users browsing this thread: 1 Guest(s)