The Dink Network

DinkC problem

December 4th 2004, 06:42 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
void main( void )
{
if (bridge == 0)
{
sp_active&current:sprite, 0);
sp_hard(&current_sprite, 0);
}

if (bridge == 3)
{
draw_hard_map();
sp_hard(&current_sprite, 1);
}
}

This script is attached to a fence.
But I have several problems with it, It won`t get invincible with sp_active
And I can`t make the hardness appear and Go away again.
December 4th 2004, 08:35 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
If that's a copy-paste of the script... OMG

void main( void )
{
if (&bridge == 0)
{
sp_active(&current_sprite, 0);
sp_hard(&current_sprite, 0);
}

if (&bridge == 3)
{
draw_hard_map();
sp_hard(&current_sprite, 1);
}
}

That is, put & before the bridge, and change the ":" in your &current:sprite to a "_", also place a bracket before the just changed &current_sprite.
December 4th 2004, 08:41 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
It works now..