The Dink Network

Reply to Re: AlkTree Script

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:
 
 
July 24th 2009, 01:11 AM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
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)
}