The Dink Network

Reply to Re: Bookshelf

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:
 
 
October 30th 2012, 12:51 PM
duck.gif
Toof
Peasant He/Him
I disagree. 
Uhhh... me again. Hey, I warned you I will write often. This time, touch procedure is bugging me. In original Dink, there is an (invisible) desk blocking the path until story reaches 5 or something. I'm trying to make the same, except it should work for the rest of the game.

In a property page, I've set values like this:

Type: invisible
Nohit
touch damage -1

script attached:
void touch(void)
{
sp_touch_damage(&current_sprite, 0);
move_stop(1,8,290,1);
say("The door is jammed! Guess I'll need to find another way out.", 1);
sp_touch_damage(&current_sprite, -1);
}