The Dink Network

Reply to Re: Player map not changing

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:
 
 
August 27th 2011, 05:36 AM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
Have you asigned the script to a sprite?

Oh and also it can't be invisible, then it doesn't work.
Instead make it a normal sprite in the editor and put this in the main procedure instead, as msdink suggested (But I forgot, sorry).

void main(void)
{
sp_touch_damage(&current_sprite, -1);

sp_nodraw(&current_sprite, 1);
}


And if you want him to pass later just give him a touch damgage of 0 when a global has a certain value.