Second Life: New in Scripting Week 16

Wednesday a new package rolled to the RC channels, all three. This page has a couple of changes:

The OBJECT_BODY_SHAPE_TYPE flag returns the avatar gender type, 0=female and 1=male. Basically <1 = female. Values in between are permitted… but, I’m not sure what good they would be.

The idea is that scripts can now detect avatar gender and play the correct animations.

The OBJECT_HOVER_HEIGHT flag returns the Hover Height value, between -2.0 and 2.0. This is the value in the shape, not the newer Hover Height slider accessed by right-clicking the avatar. I have no idea how this might be used.

3 thoughts on “Second Life: New in Scripting Week 16

  1. The OBJECT_HOVER_HEIGHT flag can be really helpful for AOs that have different animations depending of the size of your avatar like the AOs from Kuso which have sizes for Adult, Teen and Child. This helps on poses like ground sit where the avatar my float or sink on floor if isnt the correct animation. I guess it couldhelp others kind of animations like for furnitures and such in the same way.

  2. Curiously the Wiki says about OBJECT_HOVER_HEIGHT: \If id is not an avatar, -1.0 is returned. \ The curious thing is, that is in the range of valid return values: \Normal values are in the range [-2.0, 2.0] …\

Leave a Reply to Wendy Nitely Cancel reply

Your email address will not be published.