wander

Wander activity.

The npc will wander in the zone.
Wandering consist of a move to a random point inside the zone, an iddle wait of some time then another move to another random pos, etc.

The default timer is a random number between 50 and 100 ticks (i.e. 5 to 10 seconds).

Default timer value is configurable in the ai_service config file.
This timer can be configured in the profile parameter with the optional parameters below.
Optionnaly, you can also flag this wander as foraging by adding the optional parameter 'foraging'. Il you set the foraging mode, then the timer parameters are no more used.

Optional parameters :

    [[wait min : <delay>]

    [wait max : <delay>]]

    |

    [forage]