In this lesson you can learn how to replace two pieces shoes with one piece shoes.
Shoe Types [ at least what i have :D ]:
1 piece rigged shoes and the 2 pieces rigged or unrigged shoes.
- 1 piece Rigged shoes Worn on Left Lower Leg.
- 2 pieces Rigged/Unrigged shoes Worn on Left and Right Lover Leg.
With Attachment Point System (Replace Wearing Policy) the 1 piece Rigged shoes nicely replacing wach others when i change shoes.
But what to do with 2 pieces shoes?
- Left worn on Left Lower Leg
- Right worn on Right Lower Leg
and when i wanna put on an 1 piece Rigged shoes the Left one will be replaced but the Right one will stay on me.
For solve this create an object:
- Attachment Remover - Right Lower Leg
- Wear it on Right Lower Leg attachment point
Then rezz it and put this script inside:
default
{
attach(key id)
{
if (id != NULL_KEY && llGetAttached() != 0)
{
llRequestPermissions(id, PERMISSION_ATTACH);
}
}
run_time_permissions(integer perm)
{
if (perm & PERMISSION_ATTACH)
{
llSleep(2.0);
llDetachFromAvatar();
}
}
}
- When im wearing 1 piece rigged shoe and i wanna put on 2 piece shoe:
- When im wearing the 2 piece shoes and i wanna put on the 1 piece shoes
0 comments:
Post a Comment