Reply to Problem with walking monsters
If you don't have an account, just leave the password field blank.
When I add a monster that I've created myself they seams to prefer walking in just two directions (7 and 3), wich make them look really wierd. I noticed this while makeing the 'members of the order' in 'the bomb' too, but I didn't really care about it. So, is there any way to solve this?
Here's the monsters script if it's anything wrong with it:
Here's the monsters script if it's anything wrong with it:
//Stone worm
void main( void )
{
int &mcounter;
sp_brain(¤t_sprite, 9);
sp_speed(¤t_sprite, 1);
sp_distance(¤t_sprite, 50);
sp_timing(¤t_sprite, 33);
sp_exp(¤t_sprite, 15);
sp_base_walk(¤t_sprite, 860);
sp_base_death(¤t_sprite, -1);
sp_defense(¤t_sprite, 1);
sp_touch_damage(¤t_sprite, 5);
sp_hitpoints(¤t_sprite, 15);
preload_seq(861);
preload_seq(863);
preload_seq(867);
preload_seq(869);
preload_seq(865);
}
void hit( void )
{
playsound(29, 22050,0,¤t_sprite, 0);
sp_target(¤t_sprite, &enemy_sprite);
//lock on to the guy who just hit us
//playsound
}
void die( void )
{
int &hold = sp_editor_num(¤t_sprite);
if (&hold != 0)
editor_type(&hold, 6);
&save_x = sp_x(¤t_sprite, -1);
&save_y = sp_y(¤t_sprite, -1);
//drops
external("emake","small");
spawn("drop-w");
}






