integer switch = TRUE;
integer time = 15;
integer a = 0;
default
{
state_entry()
{
llSetStatus(STATUS_PHANTOM,switch);
}
touch_start(integer total_number)
{
if (a == 1)
{
llSetAlpha(0.5,ALL_SIDES);
{
llWhisper(0, "One"
;a = 0;
}
}
else if (a == 0)
{
llSetAlpha(1,ALL_SIDES);
{
llWhisper(0, "Two"
;a = 1;
}
}
}
}
Now this script works, on NULL_KEY, but not on llGetOwner() like this...
default
{
state_entry()
{
llListen(0,"",llGetOwner(),""
;}
on_rez(integer num)
{
llResetScript();
}
listen(integer number, string name, key id, string message)
{
if(message == "One"
llSetTexture("Texture One UUID", ALL_SIDES);if(message == "Two"
llSetTexture("Texture Two UUID", ALL_SIDES);}
}
I guess my question is this, is there a way to get llGetOwner() to listen to owner's objects. I know that Dialog, and link_message work, I have done them, this was just a new idea that I have been playing with...well...new for me.
Any advice or assistance would be very appreciated.