Benja Kepler’s SL Blog

Avatar Height

March 16, 2008 · Leave a Comment

Copy and paste the script:
default
{
state_entry()
{

}

touch_start(integer touchCounter)
{
string fullname = llDetectedName(0);
key avatarKey = llDetectedKey(0);

vector size = llGetAgentSize(avatarKey);
float height = size.z;

llSay(0,fullname + " you are " + (string)height + " metres tall");
}
}

Categories: Scripting · Tutorials

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment