Re: Adding a hardness using a script
How can i turn hardness on using a script?
What do you mean turn hardness on? Do you mean make a sprite hard? I haven't actually looked into this before, but I'm guessing it's sp_hard(¤t_sprite, 1);, but I'm probably wrong.
It's sp_nohard(¤t_sprite,0);
Nothing.
BTW i checked at WinDinkEdit if sp_nohard() exist and there's nothing about this script!

I'm not sure, but try sp_hardness(¤t_sprite, 0);
Still nothing...
It's sp_hard(¤t_sprite, 0);
But you need to...
draw_hard_map()
or
draw_hard_sprite()
...afterwards. (I can't remember if those commands are completely accurate, but look them up in the DinkCReference and you should be ok.
draw_hard_map()
or
draw_hard_sprite()
...afterwards. (I can't remember if those commands are completely accurate, but look them up in the DinkCReference and you should be ok.