Damage By Using Object

merries59
29 Oct 2006, 18:31
If the player climbs up a set of stairs (which is an object) and a stair falls out from under them, they will fall and take (amount) of damage.

In QDK what is the best way to set this up?

Thank you!

Elexxorine
29 Oct 2006, 20:39
Edit the roomwith the stairs in it, add command 'climb stairs', print 'you fall down and hurt yourself', decrease 'health' by 5.

merries59
29 Oct 2006, 22:31
Thanks for the help, I just need a gentle push in the right direction and I'll be on my way!

Elexxorine
31 Oct 2006, 09:44
No problem. If you need any more help, don't hesitate to ask me.