BEHAVIOR-TRACKER
Generic Mobile Behavior.
This behavior can be used to cause a mobile to track a target when triggered.
Note:
If you can use script to walk a certain path, please use that. Tracking is somewhat CPU intensive, so use it where it counts.
| Arguments: | <trigger> <options> [.] |
| Next Lines: | [<behavior responses>] |
| room <room> | The mobile will track to this room. |
| charmatch|cm <CHARMATCH> | Tracks beings matching CHARMATCH criteria. |
| speed <speed> | How many pulses to wait between movements. |
| custom <event> | The event that is sent during tracking. Can use unspawn on this event to stop track. |
| area <area> | Specifies the number of rooms adjacent to the mobile that should be searched for the specified target. The default is 100. |
| open | Can open/track through doors. |
| unlock | Can unlock doors. (Needs open.) |
| ignoreNoMob | Ignore's the NO_NOB flag. |
Trackers activate their behavior responses when they reach their intended target -- so you could spawn an event at this time to have them do something once they reach their target.
Tracker mobiles obey their stayzone flag if its set.
Example: mb guard tracker turn cm evil speed 1d3
Where a number names a room, a creature or an object, its address works too: club.west-bridge, or .west-bridge in the behaviour's own zone. The number is the old form (BEHAVIOR-ADDRESSES).