Reply to Re: AlkTree Script
If you don't have an account, just leave the password field blank.
Maybe you're not setting the random() values to what you really want them to be? That could explain why they aren't moving.. The script itself is fine, but what is that first move_stop() for?
void hit( void )
{
&crap = scripts_used();
if (&crap > 170)
return;
//lets make the apple fall down and give it an apple script
&randx = random(200,320); //320-519
&randy = random(80,0); //0-79
&crap = create_sprite(&randx, &randy, 0, 421, 23);
sp_speed(&crap, 1);
//move_stop(&crap, 8, 86, 1)
&fally = random(80,110); //110-189
sp_script(&crap, "s1-apple");
move_stop(&crap, 2, &fally, 1)
}
void hit( void )
{
&crap = scripts_used();
if (&crap > 170)
return;
//lets make the apple fall down and give it an apple script
&randx = random(200,320); //320-519
&randy = random(80,0); //0-79
&crap = create_sprite(&randx, &randy, 0, 421, 23);
sp_speed(&crap, 1);
//move_stop(&crap, 8, 86, 1)
&fally = random(80,110); //110-189
sp_script(&crap, "s1-apple");
move_stop(&crap, 2, &fally, 1)
}