Back to SL - The Second Life Chronicles

| | Comments (0)

With all the activity around Second Life at the moment, and the availability of an HTTP call from SL (Second Life) to RL (Real Life) I've decided its time to starting spending more time in SL.

First project was to create a virtual Nabaztag. I went down to the main sandbox area and built a simple Nabaztag out of three white cones and some small blacks prims for the eyes and mouth. I'm sure I saw on the Nabaztag web site that someone had already done one but couldn't find the link. Mine's not brilliant, but it's really the scripting I'm interested in.

The script was fairly straight forward. LSL (Linden Scripting Language) is quite C like, and very event driven. So there's a start-up even to initialise it, then a listen script to wait for someone to talk to it, that then calls the REST call to nabaztag.com to send the message, and then a final event that triggers when the response to the REST call comes in. Tested it out and it all worked quite happily. SL to RL communications at last. Chatbots here we come.

Leave a comment

www.flickr.com
This is a Flickr badge showing public photos from halo4256. Make your own badge here.

Categories

Pages

Powered by Movable Type 4.1

About this Entry

This page contains a single entry by David published on September 4, 2006 6:08 PM.

Second Life Chronicles - First Land was the previous entry in this blog.

Second Life Chronicles - Development is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.