Scripting problem
I've begun on a little project that may turn up really cool. However I have some problems with an enemy script... I want the goblins with hammers to throw their hammers (the flying hammer graphics from the Dink graphic source). This just gets really messy for me and it won't show in some directions and such. If someone thinks they can fix it, I would appreciate it.
make sure you have graphics for all directions. then make sure the script works properly. don't forget to check dink.ini and make sure that everything is fine.
if you need scripting help, check out the throwing axe script. also, SOB has a hammer throwing weapon, the 'hammer of truth" if i remember correctly. it may be helpful to check out how it is done.
if you need scripting help, check out the throwing axe script. also, SOB has a hammer throwing weapon, the 'hammer of truth" if i remember correctly. it may be helpful to check out how it is done.
Got a problem again... I want a sprite to be created on the ¤t_sprite's sp_x and sp_y. But it doesn't appear on the ¤t_sprite but up in the left corner... Why?
Here's a part of the script by the way:
&duck_x = sp_x(¤t_sprite, -1);
&duck_y = sp_y(¤t_sprite, -1);
int &bombzor = create_sprite(&duck_x, &duck_y, 0, xxx, x);
sp_script(&bombzor, "dam-duck");
Here's a part of the script by the way:
&duck_x = sp_x(¤t_sprite, -1);
&duck_y = sp_y(¤t_sprite, -1);
int &bombzor = create_sprite(&duck_x, &duck_y, 0, xxx, x);
sp_script(&bombzor, "dam-duck");












