float llGetMassMKS();
Forced delay: 0.0 seconds. Energy: ??.
Returns a float that is the mass (in Kilograms) of object that script is attached to. Functionally identical to llGetMass except for the unit used in the return value.
MKS as used in the name of this function is likely a reference to the MKS system of units (Meter, Kilogram, Second), which form the base of SI units (with some minor differences).
//Reports an object's mass in Lindograms and Kilograms.
default
{
touch_start()
{
llSay(0,"My weight in Lindograms: " + (string)llGetMass() + "\nMy weight in Kilograms: " + (string)llGetMassMKS());
}
}
Date of Release 23/09/2011