Problems with the current version
The select_new_position function created in the basic Brain script section suffres from a number of problems.
~Sometimes the position chosen is below the ground. ~
~Sometimes the postion may be below sea level, which we may not want.
~The chosen location may be inside another object or avatar ~
~There may be an object, or avatar, in the pet's path to the target position.
~The chosen location my be 'no script' land.
dealing with the sea
dealing with parcel permissions
There are times when your pet is going to get stuck. It might not be able to reach the target because of the surroundings or the target may actually be inside another object.
to the Create a flying pet home page
to the Script Library