ID:179136
 
I can make the user move, and I can make the user move other things, but how do I make other things move on their own without help from the user? I just need to know how to initialize movement in something like an auto-start code. Thanks.
Just start a loop or something in its New() proc that tells it what to keep doing, or just tell it to walk_rand() or whatever you want.
In response to Foomer
Could you tell me what's wrong with this? I'm still trying to get my NPCs to move on their own.

mob
NPC
var/movement = 0
for(movement = 0)
walk_rand(mob/NPC/[whatever],10)
movement = 1


it says mob/NPC/[whatever] is a duplicate definition and that 10 is also a duplicate definition
In response to Gakumerasara
You have to put it within a proc for it to do anything, you can't put actions in the spot where you're defining something. In this case, you want that information in the New() proc.