The Dink Network

Reply to Say Scripts

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:
 
 
September 23rd 2005, 07:40 AM
duckdie.gif
BeheadedDuck
Peasant He/Him Australia
So lazy... So incredibly lazy... 
Here's the deal. I have a script that when Dink tounches some invisible sprites, it forces Dink to move down and freeze until a certain sprite leaves. The thing is, I want the sprite to go something like "You can't go there Dink," when the script is activated but I can't. Here's the script:

void main( void )
{
sp_nodraw(¤t_sprite, 1);
sp_touch_damage(¤t_sprite, -1);
sp_nohit(¤t_sprite, 1);
}

void hit( void )
{
return;
}

void touch( void )
{
freeze(1);
int &dy = sp_y(1, -1);
&dy += 30;
move_stop(1, 2, &dy, 1);
say("`%You can't go there Dink!", &bs1-fbp);
//bs1-fbp is the script name atached to the other sprite
unfreeze(1);
}

Thanks for any help.