step_away(M,usr,4)
Problem description:
Here's what the problem is, i tryed the ocde above, but it doesn't push the mob 4 squares, why is that?
ID:263471
![]() Jan 29 2007, 11:00 am
|
|
Code:
step_away(M,usr,4) Problem description: Here's what the problem is, i tryed the ocde above, but it doesn't push the mob 4 squares, why is that? |
![]() Jan 29 2007, 11:43 am
|
|
You have to provide more code than that...
|
mob/verb
Push() set category="Atack" set name="Push" for(var/mob/M in get_step(usr,usr.dir)) step_away(M,usr,4) That's the full code. I don't why it only pushing the mob only one square instead of 4 squares |
Sayian Hunter wrote:
mob/verb step_away(Ref,Trg,Max=5) Max is the number of tiles away the mob can be for it to be able to push. Search step_away in the ref to get a full definition. |