Jump to content

Can ppl interact with an object attached to you?

Recommended Posts

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


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

Share this post

Link to post
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

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...