The Dink Network

Reply to Re: Storing a random sequence

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 11th 2008, 07:37 PM
dinkdead.gif
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!