Torry Schenker Posted October 15, 2014 Share Posted October 15, 2014 is there any chance to list all attached avatar objects ?it would be great if some one has an idea !!! many greetings Link to comment Share on other sites More sharing options...
marcov Carter Posted October 15, 2014 Share Posted October 15, 2014 hi Torry, don't really need a script for that, just open your inventory, then in search field enter : (worn and All attached objects should appear. Link to comment Share on other sites More sharing options...
Torry Schenker Posted October 15, 2014 Author Share Posted October 15, 2014 smiles...ok...i know it. but i need a script approach which register a worn attachment ( by name ) in a seperate DB. this is the reason for my problem. I must ensure that all in a private game playing avatars has attached a special HUD. My approach was to sensor all avatars and look for this special HUD by name. If one avatar without this attached HUD i will send him via IM a message. Link to comment Share on other sites More sharing options...
Freya Mokusei Posted October 15, 2014 Share Posted October 15, 2014 That's a very memory-heavy process. You could (possibly) do this via RLV but only if all players were using RLV and had relays properly configured. Not a clean solution, and the dependencies might be too much. A faster and probably more elegant solution would be to llRegionSay on a non-zero channel, 'pinging' each player to see if a HUD belonging to them responds. No response (after a time delay) gives you your IM-trigger. 1 Link to comment Share on other sites More sharing options...
Torry Schenker Posted October 15, 2014 Author Share Posted October 15, 2014 thx. yea... this is an idea and it will work i think. i will think about a solution on this approach. Link to comment Share on other sites More sharing options...
Innula Zenovka Posted October 15, 2014 Share Posted October 15, 2014 All RLV will do is make the viewer tell you which attachment points are occupied, or whether a particular point is occupied, depending on what you ask it. It can't tell you what's worn on a particular attachment point or clothing layer unless you start doing some pretty fancy stuff with "shared folders," which is almost certainly outside the scope of this particular problem. I agree with you -- having attachments report their presence if asked is a far better way to do it. Link to comment Share on other sites More sharing options...
Torry Schenker Posted October 16, 2014 Author Share Posted October 16, 2014 Hello again, thx for some good ideas. i startet to script Freya's approache via llRegionSay. I inserted some lines code in order the attachment is talking ((llRegionSay )) the Owners UUID in a non zero channel. A central cube will recieve this message an store it in a list. A timer inside the cube is checking against AgentInRegion. If an Agent in Region without this storred message he is identivied as Avatar without this needed attachment. Tahnks all !!! Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now