Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Object Rotate

rubiq Campbell
Registered User
Join date: 4 Apr 2006
Posts: 22
05-07-2006 16:51
I have created two objects and would like to write a script that when touches one object the other object start rotating and when touching the one rotating the other one starts rotating too. Please your happy will be appreciated.
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
05-07-2006 17:39
First, it depends on whether or not you intend/need to have them linked. In either case, use a touch_start event. In that event, if they are linked, pass a message with llMessageLinked. If not linked, use an llWhisper or llSay. In each object, you'll also need either a link_message or listen event (depending on whether linked or not). In THAT event, you will issue a command to rotate (several options there depending on particular situations).

Without more information, this is about as much as I can give you. Let me/us know what specifically you need help with from here.

Baron Hauptmann
rubiq Campbell
Registered User
Join date: 4 Apr 2006
Posts: 22
05-07-2006 18:04
Thanks for your advise. I would like to link the two objects and I have no idea on how to implement that part. Right now I have object1 and object2 and I am able to whisper or say some to the other object. I am trying to build step by step thats why now I would to touch object1 and object2 will start rotating. Right now I touch object1 and object2 say how many times obect1 has been touched. Your help is much appreciated as I learn to use such a powerful scripting language.