Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Synchronisation script?

Ben Stravinsky
Second Life Resident
Join date: 7 Nov 2004
Posts: 149
04-13-2005 11:44
Hello brainy scripting community =)

I am wondering if there is a script already available that will allow me to create two animtions in pose balls but not let one start untill the other is ready too. Like a dance for example. If its not out there, and i'm sure it is, i am prepared to pay whatever it takes :p

Thankyou !!

Ben Stravinsky
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
04-13-2005 12:13
Easy, just move the llSartAnim() into a listen event in both poseballs, and have each listen on a different channel.

Poseball A: upon AV sitdown, send message on B's channel
Poseball B: upon AV sitdown, send message on A's channel

In each poseball's listen event: if llAvatarOnSitTarget() returns a non-null key, animate and send back a message.
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
Ben Stravinsky
Second Life Resident
Join date: 7 Nov 2004
Posts: 149
Sounds easy
04-14-2005 13:53
ok, it might be simple to you... but its japanese to me (i dont speak japanese). If you could contact me in game i'd be prepared to compensate you in some way :p
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
04-14-2005 14:17
See responses in this thread.

This request is so common it probably deserves a Sticky. Oi. :rolleyes:
_____________________
---