CHARACTER STAY WITHIN PARCEL

From Second Life Wiki
Jump to: navigation, search

Description

Constant: integer CHARACTER_STAY_WITHIN_PARCEL = 15;

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.

Related Articles

Functions

•  llCreateCharacter
•  llUpdateCharacter

Deep Notes

Search JIRA for related Issues

Signature

integer CHARACTER_STAY_WITHIN_PARCEL = 15;