moneyman331
2013-05-31 00:12:57
Having problem getting random range to work. Doesn't like two named constants.
Script looks essentially like this:
ALWAYS does constant1 times and when I print the timestodotask before running the action loop it's always returns constant1. No problems with it working elsewhere in the script when I use randomrange(0,100000) or whatever with numbers and not referenced constants. Any ideas?
Script looks essentially like this:
constant1:=2
constant2:=3 (or 4 or 5)
blahblahblah
timestodotask:= randomrange(constant1,constant2)
perform action timestodotask
ALWAYS does constant1 times and when I print the timestodotask before running the action loop it's always returns constant1. No problems with it working elsewhere in the script when I use randomrange(0,100000) or whatever with numbers and not referenced constants. Any ideas?