Seems like there has to be a better way.
This needs to work if I change the number of loops. Right now it is 5, later it maybe 9 and then I may change it again. Depending on my needs per script.
numA and numB needs to equal 1 and 2 on the first loop, then numA and numB needs to equal 3 and 4 on the next loop and so on.
Code: Select all
loop 5
{
if a_index = 1
{
numA = 1
numB = 2
}
if a_index = 2
{
numA = 3
numB = 4
}
if a_index = 3
{
numA = 5
numB = 6
}
if a_index = 4
{
numA = 7
numB = 8
}
if a_index = 5
{
numA = 9
numB = 10
}
}