DinkC problem
void main( void )
{
if (bridge == 0)
{
sp_active¤t:sprite, 0);
sp_hard(¤t_sprite, 0);
}
if (bridge == 3)
{
draw_hard_map();
sp_hard(¤t_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.
{
if (bridge == 0)
{
sp_active¤t:sprite, 0);
sp_hard(¤t_sprite, 0);
}
if (bridge == 3)
{
draw_hard_map();
sp_hard(¤t_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.
If that's a copy-paste of the script... OMG
void main( void )
{
if (&bridge == 0)
{
sp_active(¤t_sprite, 0);
sp_hard(¤t_sprite, 0);
}
if (&bridge == 3)
{
draw_hard_map();
sp_hard(¤t_sprite, 1);
}
}
That is, put & before the bridge, and change the ":" in your ¤t:sprite to a "_", also place a bracket before the just changed ¤t_sprite.
void main( void )
{
if (&bridge == 0)
{
sp_active(¤t_sprite, 0);
sp_hard(¤t_sprite, 0);
}
if (&bridge == 3)
{
draw_hard_map();
sp_hard(¤t_sprite, 1);
}
}
That is, put & before the bridge, and change the ":" in your ¤t:sprite to a "_", also place a bracket before the just changed ¤t_sprite.