|
Hanumi Takakura
Registered User
Join date: 24 May 2006
Posts: 57
|
09-30-2006 18:19
The trick many use to get things like guns and swords holstered is to have one in hand and one on hip and simply use llsetAlpha commands. But. Is there any way to actually change the attach spot? I tried with llAttachToAvatar (proper permissions of course) and it wont budge, slaping in an llDetachFromAvatar simply gets it back into the inventory, and anything else won't even compile. What is the secret?
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
10-01-2006 01:18
You've identified the trick... there is no way to get it to change.
There is a system (not for guns) where you give permission once, the script does some script-foo and you rez the item at the correct attachment and detach it into inventory so, in the gun sense you only wear the holstered version until you want the one in the hand, but it would still alpha out the holstered gun.
|
|
Hanumi Takakura
Registered User
Join date: 24 May 2006
Posts: 57
|
10-01-2006 04:42
Thanks, I was thinking along those lines too. Maybe have a separate object already attached call an attach on_rez and then a delete when the gun/sword is not to be used again. I'll keep trying the options.
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
10-01-2006 13:07
If you didn't mind a crapload of objects in your inventory you could have the object rez a copy of itself in-world which attaches to a different attach point and then detach itself.
|