Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: blackhole on June 21, 2007, 07:36:14 pm
-
Is there a SEXP for randomly generating a number, or randomly choosing from a series of possibilities? I took a quick browse through the SEXPs but couldn't find anything like it.
-
Is there a SEXP for randomly generating a number, or randomly choosing from a series of possibilities? I took a quick browse through the SEXPs but couldn't find anything like it.
Yes. I'll get the name for you in a moment.
EDIT: Once you make an event with when-argument or every-time-argument, right click on the any-of and change it to random-of.
-
Holy freaking cow that was fast. Thanks!
-
Or you could just use Rand or Rand-multiple if all you need is a random number. :)
-
Well, i don't, but i'll keep that in mind ^^