Jump to content
ZGURemixer

Can ppl interact with an object attached to you?

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×