Reply to Re: Storing a random sequence
If you don't have an account, just leave the password field blank.
Uh... kind of both
I want to check the sprites and see if I'm checking them in the correct order. For example I look at sprite A and the script checks if it is actually the first one that came up in the sequence, and so on.
Script something like this, using your example of ACCBACBCAA:
//sprite a
//some check here, eg if this is the first sprite
//I'm checking then &sprite_a should be 1 but not 5, 9, or 10.
if (&sprite_a == 1or5or9or10)
{
//yay!
}
Ok that's a weird way to explain but I can't think how to speak clearly!
I want to check the sprites and see if I'm checking them in the correct order. For example I look at sprite A and the script checks if it is actually the first one that came up in the sequence, and so on.
Script something like this, using your example of ACCBACBCAA:
//sprite a
//some check here, eg if this is the first sprite
//I'm checking then &sprite_a should be 1 but not 5, 9, or 10.
if (&sprite_a == 1or5or9or10)
{
//yay!
}
Ok that's a weird way to explain but I can't think how to speak clearly!