About
This script will perform the following actions:
It will check if the Corrade bot is online.
When the bot is found to be online, it will send a request to teleport at the current primitive's position.
Once the teleport is successful, it will send a request to subscribe to Corrade's permission notifications. This is performed in order to be able to answer the permission request from the object that Corrade will sit on.
Then the script tells Corrade to sit on the primitive.
When Corrade sits on the primitive, the animate permission request is sent from the script to Corrade. Corrade, in-turn, delivers it to the script and the script tells Corrade to accept the animate request.
Corrade starts dancing.
Setup
Create a notecard called configuration
and configure it appropriately for your bot:
Unable to display file "http://svn.grimore.org/corrade-lsl-templates/source/sit-and-animate/configuration.txt": It may not exist, or permission may be denied.
and put it along with all the scripts inside a primitive.
Alternatives
Third-party viewer "phantom" functionality that will lock Corrade in place such that the bot cannot be moved can be reproduced using a script inside a primitive or object worn by Corrade.
Index