Skip to content
lsl.devlsl.devLSL Dev

CHARACTER_STAY_WITHIN_PARCEL

constant
Constant
integer CHARACTER_STAY_WITHIN_PARCEL = 15;

Constant groups

CharacterParam

Other CharacterParam values (13)

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.

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.