Skip to content
lsl.devlsl.devLSL Dev

CHARACTER STAY WITHIN PARCEL

Looking for the current API? Open the CHARACTER_STAY_WITHIN_PARCEL reference →

Wiki description

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.

See also: functions

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.