The Dink Network

Reply to Re: Help me Revise the DinkC reference.

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 2021, 03:02 PM
custom_robj.png
Robj
Jester He/Him Australia
You feed the madness, and it feeds on you. 
"Robj:
Are you aware of any solutions to the apparent problem of neither draw_hard_sprite(int active_sprite) nor draw_hard_map() causing a change in hardness on a particular sprite that you have used sp_hard(int active_sprite, 1) on?


Can you send me a sample script?

Draw_hard_map should always work, can't say I've encountered that issue.
If you're using draw_hard_sprite, this just updates the sprites hardness in it's current location, based on it's sp_hard value. So if you move a hard sprite, then use draw_hard_sprite() to make it not hard, the old hardness would still remain in the position before it moved. But it doesn't sound like that's the issue you're describing.

You can try putting a wait(0); before the draw_hard_map/draw_hard_sprite line, sometimes that fixes things that don't want to work properly. If that doesn't work, I can't figure out what's going on without seeing it for myself.