The Dink Network

Re: Adding a hardness using a script

July 23rd 2007, 03:41 AM
pq_cthunik.gif
GOKUSSJ6
Peasant He/Him Poland
Everyone should get a pizza for free in each week. 
How can i turn hardness on using a script?
July 23rd 2007, 03:56 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
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(&current_sprite, 1);, but I'm probably wrong.
July 23rd 2007, 04:33 AM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
It's sp_nohard(&current_sprite,0);
July 23rd 2007, 08:22 AM
pq_cthunik.gif
GOKUSSJ6
Peasant He/Him Poland
Everyone should get a pizza for free in each week. 
Nothing. BTW i checked at WinDinkEdit if sp_nohard() exist and there's nothing about this script!
July 23rd 2007, 09:32 AM
custom_skull.gif
skull
Peasant He/Him Finland bloop
A Disembodied Sod 
I'm not sure, but try sp_hardness(&current_sprite, 0);
July 23rd 2007, 09:50 AM
pq_cthunik.gif
GOKUSSJ6
Peasant He/Him Poland
Everyone should get a pizza for free in each week. 
Still nothing...
July 23rd 2007, 10:00 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
It's sp_hard(&current_sprite, 0);
July 23rd 2007, 02:58 PM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
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.