|
Paul Wardark
Wait, what?
Join date: 10 Jan 2009
Posts: 383
|
07-07-2009 18:28
Okay, I'm confused. So I turn to the people here on the forums. What's wrong with this script? default {
state_entry() { llSensorRepeat("Paul Wardark", f5c35057-fb7c-4f20-a384-07a604c18766, AGENT, 1, PI, 5); } sensor(integer total_number) {
llWhisper(0,"Don't forget.");
}
}
I'm just trying to get it to talk to me every time I walk by.
|
|
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
|
07-07-2009 18:37
From: Paul Wardark Okay, I'm confused. So I turn to the people here on the forums. What's wrong with this script? default {
state_entry() { llSensorRepeat("Paul Wardark", f5c35057-fb7c-4f20-a384-07a604c18766, AGENT, 1, PI, 5); } sensor(integer total_number) {
llWhisper(0,"Don't forget.");
}
}
I'm just trying to get it to talk to me every time I walk by. Put quotes around your UUID key to make it compile. Also, I just tested it quickly inworld and ended up having to change your llSensorRepeat line to : llSensorRepeat("",llGetOwner(), AGENT, 5, PI, 5); you can just leave the name blank (as ""  , as you only either a name or key that you're sensoring for. Also I had to turn the range up from 1 meter to 5 - This is actually the distance from the center of your avatar to the center of the scripted object, so unless it's phantom or smaller than 1 meter and you are getting very close to it, it probably won't trigger at 1 meter.
|
|
Paul Wardark
Wait, what?
Join date: 10 Jan 2009
Posts: 383
|
07-07-2009 18:45
Alright, I'll play with it more. Thanks.
|
|
Paul Wardark
Wait, what?
Join date: 10 Jan 2009
Posts: 383
|
07-07-2009 20:08
It's not working. I set it for someone else's key, and nothing. So I tried their name instead. Still nothing. Any ideas?
|