Shadowfax Bailey Posted May 21, 2016 Share Posted May 21, 2016 Is there possible to make like a floor that detects who is entering (exept me) and send a im to me with that avatars name? Thanks in advance,Shadowfax Link to comment Share on other sites More sharing options...
Rolig Loon Posted May 21, 2016 Share Posted May 21, 2016 Yes, you could do that by detecting a collision with the floor, using llDetectedKey. That's probably not the most efficient way to keep track of who enters, though. In a commercial space, like a shop, most people would put a transparent, phantom collision prim across the doorway or would set a repeating sensor of some kind to detect people every minute or so. A collision detector in a floor tends to be too sensitive to every little movement. No matter what sort of detector you use, you'll need to do some filtering. You won't want to count the same person 15 times during the 5 minutes she's in your area, for example, so you'll want to script a way to ignore multiple collisions. You may also want to keep a count first-time visitors separate from the count of repeat visitors, which means storing some form of ID for each visitor and then worrying about how much information you can store before the script is in danger of choking on it. If you save each visitor's full name, you'll run out of memory very quickly. Then there's the issue of notifying you. If you expect more than a small number of visitors, you probably don't want to have the script send you an IM every time someone visits. That can be very annoying (and will cap your mailbox quickly). It's probably wiser to script your counter to send a daily or weekly summary report, or maybe whenever you have had 25 or 50 visitors. Take a look at http://wiki.secondlife.com/wiki/User:Rolig_Loon/High-Capacity_Greeter-Counter . It does not send names of visitors, but illustrates each of the issues I've outlined. When you write your own script, you'll probably make different choices about how to address them. Link to comment Share on other sites More sharing options...
Ruthven Ravenhurst Posted May 22, 2016 Share Posted May 22, 2016 you added a period to your link, which "broke" it :-p http://wiki.secondlife.com/wiki/User:Rolig_Loon/High-Capacity_Greeter-Counter 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