llGetGender

From Second Life Wiki
Revision as of 05:58, 27 September 2007 by Huney Jewell (talk | contribs) (Avoid confusing agent and avatar)
Jump to navigation Jump to search
Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: string llGetGender( key avatar );

Returns a string the gender of an agent located in the same region the script is running in.

• key avatar agent UUID

Caveats

  • Works only for agents recently located in the same region the script is running in.
    • Grid-wide GetGender could be provided via a dataserver call.

Examples

Notes

To avoid confusing agent and avatar: It's gender of the avatar, not the user's RL sex. Very useful for some special kind of products like poseballs and animations, also for attaching or detaching some body parts and access rules in some regions.
Sounds useful indeed, but should probably be agent data you can fetch with llRequestAgentData.

See Also

Functions

•  llRequestAgentData

Deep Notes

Signature

//function string llGetGender( key avatar );