osSetHealRate
OSSLvoid osSetHealRate(key agentId, float health)
Sets the automatic healing rate in % per second. Default heal rate is now around 0.5% per second. A value of zero can disable automatic heal, current maximum value is 100 % per second.
Parameters
| Type | Name |
|---|---|
| key | agentId |
| float | health |
Energy
10
OpenSimulator extensions. Some are gated by threat level and a region may refuse them.
More in OSSL
integer osApproxEquals(rotation ra, rotation rb, float margin)
void osNpcMoveTo(key npc, vector position)
integer osStringIndexOf(string src, string value, integer start, integer count, integer ignorecase)
key osGetInventoryItemKey(string name)
string osDrawRectangle(string drawList, integer width, integer height)
string osGetGridHomeURI()
void osSetPrimitiveParams(key prim, list rules)
void osSetInertiaAsCylinder(float mass, float radius, float length, vector centerOfMass, rotation lslrot)