The 'Follower' scripts are designed for objects to follow an avatar or another object. What you can do with them?
- A dog running after a bone;
- A bird flying to a target;
- A ghost chasing an avatar;
- Other similar things.
LIMITATIONS:
- Scripts don't work if the object holding them passes through land with restricted access (no scripts, no object entry);
- There might be failures at sim crossings if the target crosses too fast and gets out of range;
- Sometimes objects get auto-returned if they cross sim borders (this is actually a feature to limit griefer attacks);
- Single prim objects might fail to work (this is a bug in the system, if it happens, use an object made of two prims).
- Rotation is important. To work properly, your vehicle must point East when its rotation is (0, 0, 0).
HOW IT WORKS:
- Put a 'movement script' inside your object. This script will move the object towards target.
- Put a 'rotation script' inside the object. This will change object's rotation.
- Use a 'target' script for the target your object is going.
Once a target is detected, the object will move towards it. If the object is told to stop, it will no longer move but still look at the target. If the target has vanished, the object will point East (default setting, zero rotation).
MOVEMENT SCRIPTS:
These scripts move the object towards target.
<>Follower Movement Avatar.
This script will make your object follow any avatar within 50 m. If one avatar comes closer than the target, the object will follow that one.
<>Follower Movement Message.
This script will make your object follow avatars detected by 'target detector' scripts (see below).
<>Follower Movement Object.
With this, your object will follow objects carrying a 'target object' script (see below).
<>Follower Movement Owner.
The object will follow you (the owner). Click and it will stop (but still look at you). Click and it will follow you again.
ROTATION SCRIPTS:
These scripts rotate the object, pointing it to the target.
<>Follower Rotation Arrow.
The object will point at you.
<>Follower Rotation Standing. Good for a vampire bat chasing an avatar.
The object will look at you but will stand vertical. Good for a ghost chasing an avatar.
TARGET DETECTOR SCRIPTS:
They detect avatars and tell your object to follow them. They work with 'movement message' script.
<>Follower Target Detector Sensor.
Put it in a prim. Once it senses an avatar, will tell your object to follow it. Touch the prim for less then 1 second to activate. Touch for over 1 second to stop. Good to place it in the welcome area.
<>Follower Target Detector Touch.
Put it in a prim. Touch to activate. Touch for longer than 1 second to stop. Good to call in a ghost when someone touches a treasure chest.
<>Follower Target Detector Sensor Touch.
Works the same like the other two combined.
TARGET OBJECT SCRIPTS:
Put these scripts in an object that you want to become target. They work with 'movement object' script.
<>Follower Target Object Permanent.
Put it in the target and touch to activate, hold over 1 second to stop. The object will go towards the prim holding the script.
<>Follower Target Object Temporary.
Put it in the target and hold touching to keep it active, your object will move towards it as long as you press.
LICENSE FOR BUILDERS AND MERCHANTS:
<>LICENSE GRANTED:
- You are licensed to use these scripts for all your creations.
- You are licensed to use these scripts and improve them, to make better scripts and sell them as your own.
- You are licensed to build your own objects and use these scripts for them.
- You are licensed to share these scripts with your friends for free.
<>LICENSE EXCLUSIONS:
- Please do not offer these scripts as freebies. Do not resell them as they are.
- If you make improved scripts after these ones, you can sell them but not for free.
- If you use these scripts to build your own objects, please, don't sell your objects for free (except demo models).
Offering everything for free kills the initiative of other merchants and their desire to build. You will do more harm than good.
- Following objects
- Following avatars
- Remote control
- Vertical or tilted
- Object scripts
Thank you!
A series of scripts with detailed instructions that does exactly what it says it does.
You, of course, need to have some basic knowledge on the subject, but it is pretty simple to use.
Thank you, Anai.
difficult to operate
can you give an example that works apart well on the chair plz
funktioniert gut works very well
funktioniert gut / works very well