Allow shape modifications using LSL
Mars Tamale
Allow modification of a shape (provided it is modifiable) setting any of the parameters available on Edit shape.
Prerequisites:-
- Script must be on a worn attachment (& therefore belong to the wearer)
- Worn shape is modifiable
- New permissions request - say Permission_Change_Shape = 4096
LSL functions:
(list)llGetShape[list params1);
Delivers list in correct format to be supplied to ...
(integer)llModifyShape(list params2);
Delivers True is successful
params1 = [Body_Height, Body_Leg_Length ...] ->
params2 = [Body_Height,50, Body_Leg_length,40 ...]
Even if the modifications don't survive a relog this would be most useful. If they are not saved then editing shape then saving should really save the changes or unwear & rewear picks up original again
Log In