ID:159579
 

I currently have NPC soldiers etc that walk about randomly and attack players etc. However, how would i go about stopping them moving northeast,northwest,southeast,southwest?

I know how the client form works, but that only stops players. I use the walk_rand proc.

I have tryed:

var/stepdir = pick("NORTH","EAST","SOUTH","WEST")
step(src,stepdir)

but that just halted all movement.

Thanks.

Get rid of the "" around "NORTH", "EAST" etc.
In response to Lyndonarmitage1
Thanks once again Mr.President :P