The Dink Network

Reply to Loop to delay

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:
 
 
April 15th 2007, 03:26 AM
duckdie.gif
RadFrog
Peasant They/Them
 
I want to freeze Dink until the countdown of &gold is complete. This is my best (un-effective) effort so far. Too bad it don't work. Dink just can't wait.
- - -
&temp = &gold;
&temp -= 1000;
&gold -= 1000;
loop:
wait(100);
if(&gold > &temp)
{
goto loop;
}
// put axe in Dink's tools
playsound(10,22050,0,0,0);
add_item("item-axe", 438, 6);
sp_brain(&current_sprite, 12);
sp_touch_damage(&current_sprite, 0);
sp_timing(&current_sprite, 0);

unfreeze(1);

If anyone has scripted such a thing, I would really like to know how they did it.

Thanks in advance.

RadFrog