Altimeter / Speedometer
default
{
state_entry()
{
llSetTimerEvent(0.1);
}
timer()
{
vector pos = llGetPos();
llSetText("Altitude: " + (string)llRound(pos.z) + "m\nSpeed: " +
(string)llRound(llVecMag(llGetVel())) + "m/s",<1,1,1>,1);
}
}