• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

NPCs walking where they want to

revion

New Member
Joined
Oct 27, 2009
Messages
46
Reaction score
0
Hello!
NPCs on my server are walking everywhere they want to!
So, when one NPC should be always in temple, then I find him on a road or even outside the city ;o
I would like my NPC walk just in range of, for example 3 sqms, not more.
Could someone fix it?
 
I suggest to use a fuction selfMove or selfMoveTo. Act solely in the NPC and are responsible for movement. If you want to add that random enough to join the math.random.​
 
Ahh, I'm stupid :P I was spawning that NPC myself (wanted to test him, but he wasn't added in mapeditor yet...)
Byllan, thanks :P
 
Back
Top