CHARACTER STAY WITHIN PARCEL
|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
The integer constant CHARACTER_STAY_WITHIN_PARCEL has the value 15
Default setting is FALSE, leading to traditional pathfinding behavior.
If a parcel allows scripts and objects and the character does not have the CHARACTER_STAY_WITHIN_PARCEL option enabled, it can freely cross the parcel boundary in both directions.
Characters which have CHARACTER_STAY_WITHIN_PARCEL set to TRUE treat the parcel boundaries as one-way obstacles.
Pathfinding wander, flee, evade, and pursue behaviors will only choose goal points within their starting parcel.
If a character somehow manages to escape its original parcel (e.g. it was 'pushed' out), it will be able to return to the original parcel, but will be unable to leave the original parcel afterwards.
integer CHARACTER_STAY_WITHIN_PARCEL = 15;