Table of Contents

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:

####################### START CONFIGURATION ##################################
 
# All these settings must correspond to the settings in Corrade.ini.
 
# This is the UUID of the Corrade bot.
corrade = "c74590e1-b8a1-495a-aa96-1f4c2bc3b15a"
 
# The name of the group - it can also be the UUID of the group.
group = "My Group"
 
# The password for the group.
password = "mypassword"
 
####################### END CONFIGURATION ###################################

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


secondlife/scripted_agents/corrade/projects/in_world/sit_and_animate.txt ยท Last modified: 2022/11/24 07:45 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.