I’ve been working on a script which will detect each avatar in the room and will then only turn something on once each avatar has clicked the on button. The issue is I have no problem detecting who is is the room but I can’t detect an individual avatar when they have clicked the on object.
If anyone (ben or matty especially) can find a scipt which will detects who the avatar is who clicks an object then we can create a script which detects each avatar in the room and adds them to a list(array) then as each one clicks the object their name is added to another array (after checking if they exist are not). Once the size of this array is equal to the number of avatars in the room the object will then turn on. It’s quite an affective way of doing it but wont work unless I can find something that will detect the avatar who clicks on an object.
Other wise I’ll have to do a similar thing but will only work once the object has been clicked 4 times – essentially meaning that any one person could click the on button 4 times to turn it on.
Let me know if anyone has any thoughts.
Wednesday, July 2, 2008
Subscribe to:
Post Comments (Atom)
2 comments:
Ahhhh Jack Daniels is there anything you can't fix!!!! Walked away for 5 minutes had a Jack and came up with a solution. All good!
good stuff mate.
Post a Comment