I figured it out. Neither dist nor delay can be 0. I've had delay set to 0 and that's what has been causing it to not function for me. (What threw me off is according to the AI command delay is optional.) Also, the spawnpoint must be within the roambox. If it isn't, then the NPC won't roam at all (I am guessing if the distance is further from the roambox than the dist DB value, it won't move) OR, the NPC will use the roambox coords as the spawnpoint and will move to that loc and sit.
dist is the number of clicks the NPC will move at a time.
delay is the amount of time the NPC will wait at each point before moving to the next. This appears to be in milliseconds, so 30000 = 30 seconds.
We need the ability to add some variance to delay at the least like we have for grids. I'll see about getting that and an option for a dist variance in as well.
Last edited by cavedude; 02-19-2009 at 03:15 AM..
|