Jump to content

Can ppl interact with an object attached to you?


ZGURemixer
 Share

You are about to reply to a thread that has been inactive for 2569 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hi, i am ZGURemixer, a peep who is half newbie.

:D

So i was making an avatar. everything is fine with it, except for one thing. 

How do i make people interact with an object i have attached on my body, it has a touch script. but i dont think they work while attached.

I want to make a "click me for info" thing that is attached to my body how do i? O.o

Thank you for your attention

Edited by ZGURemixer
Link to comment
Share on other sites

Objects attached to your body are certainly touchable, as a general rule.

I suggest you look closely at the touch_start event in your "touch script"   If there's a filter such as 

if(llDetectedKey(0) == llGetOwner())
{
	//do stuff
}

at the start of it, you need to remove the line if(llDetectedKey(0) == llGetOwner()) and the two matching { curly brackets } but leave the rest intact.    That filter means, in English, "if the uuid of the avatar who has just touched me  is that of my owner, then... otherwise ignore it".   I suspect that's what's causing the problem.

See if that fixes it.  If you're still having problems, ask in the Scripting Forum and post the whole touch_start event of your script so we can see what's happening.

Edited by Innula Zenovka
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2569 days.

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
 Share

×
×
  • Create New...