1
2
Mar 1 2003, 9:43 pm
In response to Zlegend2
|
|
k, how do i make it so it goes to the coords?
|
In response to Zlegend2
|
|
Heres what the walk_to section says in the blue book:
14.2.3 walk_to instruction The walk_to, step_to and get_step_to instructions move to another target object, talking intervening objects into account and attempting to intelligently maneuver around them if possible. If the target is too far away (more than the widtch of the map view), no action is taken. walk_to(Obj,Targ,Dist=0,Lag=0) step_to(Obj,Targ,Dist=0) get_step_to(Obj,Targ,Dist=0)
|
In response to Zlegend2
|
|
why doesnt this code work:
mob |
In response to Koolguy900095
|
|
maybe you cut and pasted it from the forums. That or you need another mob in the world.
|
In response to Koolguy900095
|
|
see the "M" in the args. That is a mob to walk to. That is the target. There is no other mob to walk towards. U need a partner to test that verb.
|
In response to Zlegend2
|
|
?
|
In response to Zlegend2
|
|
i cant even compile it i get the error:
main.dm:16:error:walk_towards :expected 2 to 3 arguments (found 1). |
In response to Koolguy900095
|
|
I should suggest this before you go on coding anymore. Learn the DM vocabulary a little better. Mob meaning another PC or NPC. Preferably a PC.
|
In response to Koolguy900095
|
|
Koolguy900095 wrote:
i cant even compile it i get the error: It wants 2 or 3 args in the () of the proc. mob verb Test(mob/M as mob in world,) walk_towards(src,M,0) Try this, I erases Lag=0 and put 0 because it already knows what is what by the commas in the args. Read what I posted out of the blue book. It tells you what args are what. AND DONT DOUBLE POST! and thank Forum Admin. That was very wrong to double post. |
In response to Zlegend2
|
|
mob as in a mob. A mob does not have to be a character. A chair can be a mob, and it's not a character at all, so it's neither a PC or an NPC.
|
In response to Zlegend2
|
|
Zlegend2 wrote:
the default speed is pretty much the fastest u can go. Zlegend, I insist you stop trying to "help" people if you don't know what you're talking about. So far in this thread you've managed several times to completely miss the point as to what he was asking for, and now you're spouting crap that isn't even true. I have yet to read all of the sub-thread that spawned off of this, but I'm guessing it's one of those cases where a piece of bad information at the beginning led to a lot of fruitless back-and-forth. Giving bad advice wastes forum space. Kindly desist. Lummox JR |
In response to Lummox JR
|
|
So you can go faster than the default speed? if so how?
|
In response to Garthor
|
|
I would consider it an NPC even if it has the possibility of having life(walking, responding, ect.)
|
1
2