The Dink Network

Reply to Re: remove hardness/spirit

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 7th 2009, 12:06 PM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
I'm not the experienced scripter, but my guess is that you can attach this script to the screen:

void main ( void )
{
if (&bob == 0)
{
int &hard;
&hard = create_sprite(xxx,yyy,#,#,#);
sp_nodraw(&hard, 1); 
//this'll make the sprite invisible.
sp_hard(&hard, 0);
//the 0 means hard, 1 means not.
draw_hard_sprite(&hard);
//this'll draw the hardness box for the sprite.
}
else
{
sp_hard(&hard, 1);
draw_hard_sprite(&hard);
}
}


So if &bob becomes a number other than zero, the hardness of the invisible sprite should disappear. I have no idea if this will work live on the same screen.

Is spirit the new sprite? Awesome.