Reply to Re: New D-Mod: An Age Of Darkness
If you don't have an account, just leave the password field blank.
then you should do something like this... say_stop is necessary.
void main()
{
sp_nodraw(¤t_sprite, 1);
sp_touch_damage(¤t_sprite, -1);
}
void touch()
{
sp_touch_damage(¤t_sprite, 0);
say_stop("Mirage wall!", 1);
sp_touch_damage(¤t_sprite, -1);
}
EDIT: not sure if that could stop to work in some situations, say_stop_npc or
say("Mirage wall!", 1);
wait(1000);
sp_touch_damage(¤t_sprite, -1);
}
would "always" work.
void main()
{
sp_nodraw(¤t_sprite, 1);
sp_touch_damage(¤t_sprite, -1);
}
void touch()
{
sp_touch_damage(¤t_sprite, 0);
say_stop("Mirage wall!", 1);
sp_touch_damage(¤t_sprite, -1);
}
EDIT: not sure if that could stop to work in some situations, say_stop_npc or
say("Mirage wall!", 1);
wait(1000);
sp_touch_damage(¤t_sprite, -1);
}
would "always" work.