Reply to Remove the obstacle
If you don't have an account, just leave the password field blank.
July 27th 2004, 11:21 AM

Vedran


I have a fence with a door opening which is barred by two non-hard spears and invisible hard table (as other scripts I saw do it).
At one point, when the global becomes 4, Dink, when he arrives before the blockade, should say "Time to go through" and all three sprites should disappear forever, freeing the way.
I tried to "sp_kill" it; I tried "sp_hard(¤t_sprite, 1)" with "draw_hard_sprite", I tried moving it with "sp_x" with "sp_y"...
And *nothing* works. Spears are removed, though, but table (or its hardness) is there.
How do you do that? Should I use inside_box or touch or talk or what?
At one point, when the global becomes 4, Dink, when he arrives before the blockade, should say "Time to go through" and all three sprites should disappear forever, freeing the way.
I tried to "sp_kill" it; I tried "sp_hard(¤t_sprite, 1)" with "draw_hard_sprite", I tried moving it with "sp_x" with "sp_y"...
And *nothing* works. Spears are removed, though, but table (or its hardness) is there.
How do you do that? Should I use inside_box or touch or talk or what?