07-08-2011, 11:33 AM
I feel like I've asked this before, and I'm sure I managed to make this work at least once. I don't think I remember how. Anyway, I'm trying to figure out how to turn an array into a set of arguments for a method.
Quick example I'm putting out there, just because it's something I'm trying to figure out: Turning this array
into a set of arguments for
Quick example I'm putting out there, just because it's something I'm trying to figure out: Turning this array
Code:
@sound = ["Audio/SE/002-System02", 80, 100]
into a set of arguments for
Code:
Audio.se_play(filename[, volume[, pitch]])