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 osListenRegex(integer channelID, string name, string ID, string msg, integer regexBitfield)
string osLoadedCreationDate()
string osSetPenColor(string drawList, LSL_Types.Vector3 color, float alpha)
string osReplaceString(string src, string pattern, string replace, integer count, integer start)
void osSetInertiaAsCylinder(float mass, float radius, float length, vector centerOfMass, rotation lslrot)
void osDropAttachment()
void osNpcMoveToTarget(key npc, vector target, integer options)
void osSetInertiaAsSphere(float mass, float radius, vector centerOfMass)