This way, we could alter to fit some attachements that we make for Avatars.
If there is a way to do this already, please let me know.

These forums are CLOSED. Please visit the new forums HERE
llGetBodyParams |
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
03-31-2005 04:24
It would be handy if we had a function to get the height / lenght of arms / length of legs / etc of Avatars.
This way, we could alter to fit some attachements that we make for Avatars. If there is a way to do this already, please let me know. ![]() _____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper "Changing Realities: User Creation, Communication, and Innovation in Digital Worlds :
"User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches." |
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
03-31-2005 15:01
Hmm how about an entirely new set of functions.
Add: integer llGetInventoryType(string name) {returns the INVENTORY_* flag for the object} //Using the functions below would *not* copy the items into your inventory. //These functions could only be run from an attachment. //Detaching the item that housed the attached items and clothing would result in them being taken off, reverting the agent to what they had on before (including attachments if possible). //Imagine putting on your motorcycle helmet and being all dressed for the road automaticly. llWearInventoryItem(string name) llAttachInventryObject(string name, integer attach_point) integer llGetInventoryAttached(string name) {returns the same as llGetAttached would for the object in question} integer llGetInventoryWorn(string name) {returns the same as dataserver} Extend: llRequestInventoryData for types INVENTORY_TEXTURE INVENTORY_SOUND INVENTORY_CLOTHING INVENTORY_ANIMATION INVENTORY_BODYPART INVENTORY_OBJECT INVENTORY_OBJECT: dataserver would return the number of unlinked objects in the object. INVENTORY_TEXTURE: dataserver would return the size of the image INVENTORY_SOUND: dataserver would return the length and bit rate of the sound INVENTORY_ANIMATION: dataserver would return the run length of the animation, -1.0 for loop INVENTORY_BODYPART: dataserver would return the type of the bodypart, if the bodypart is mod it would also return a list of slider attributes. INVENTORY_CLOTHING: dataserver would return the type of the clothing, if the clothing is mod it would also return a list of slider attributes. _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |