Sprite hardness in script?
July 5th 2005, 02:33 AM

Jojje


If i create a sprite in a script by the create_sprite method, what should i add to make it hard? I'm adding a roadblock in my DMOD so that you cannot pass the barrier unless you have Level 2 or more.

int &sprite = create_sprite(x,y,brain,seq,frame);
sp_hard(&sprite, 0);
and then:
draw_hard_sprite(&sprite);
or
draw_hard_map();
sp_hard(&sprite, 0);
and then:
draw_hard_sprite(&sprite);
or
draw_hard_map();
July 5th 2005, 08:12 AM

Jojje


Thanks, but i found out another way.
I might use your script sometime later in my DMOD though.

