Question
Calling the next number in an array through a function?
ow do I request the next number in an array?
For example - currently being used for a loop:
for (i=0; i = levelSettings[0]; i++)But when the function (named - NextLevel() ) is called I would like that loop to call the next number in that array.
Example:
(i=0; i = levelSettings[1]; i++) //Not the change in the levelSettingsI would like this to work for all subsequent numbers in that particular array - so it can continue through to levelSettings[10] and so on.
Cheers!
