Randomizing from a list of variables
Status: Alpha
Brought to you by:
cwalther
|
From: James C. W. <jfc...@ya...> - 2011-06-18 05:28:13
|
Hi all, I don't suppose there's a way to randomly reference a variable, is there? Suppose I had four sounds, each preloaded into a local variable, perhaps named "local sound_1", local sound_2", etc, and wanted to play one of them at random every six seconds? I can do this by loading straight from the hard drive, but I'd like to be able to do it via locals, if possible. Thanks, James |