Reply to Re: scripting trouble, why always me
If you don't have an account, just leave the password field blank.
&place is supposed to be subtracted from. It is a temporary variable for &rock_placement. &rock_placement is being used for 4 separate values (one for each digit).
I did notice however that I need to move those &placement -= 1000 (-= 100 ; -=10) into the if statements though (in th check procedure)
Woops
Lol that appears to have fixed the script. I was about to put brackets for what cypry said, but it works without doing that for some reason. I hate brackets.
BTW: I removed the "&junk = is_script_attached(&hole);" line. I was ending it by calling a procedure to the &hole sprite before, but I recently realized that all I needed was to tell the primary sprite to change the script of the &hole sprite.
I did notice however that I need to move those &placement -= 1000 (-= 100 ; -=10) into the if statements though (in th check procedure)
Lol that appears to have fixed the script. I was about to put brackets for what cypry said, but it works without doing that for some reason. I hate brackets.
BTW: I removed the "&junk = is_script_attached(&hole);" line. I was ending it by calling a procedure to the &hole sprite before, but I recently realized that all I needed was to tell the primary sprite to change the script of the &hole sprite.






