osSetHealth
OSSLvoid osSetHealth(key agentId, float health)
Sets avatars health
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
list osGetNumberOfAttachments(key avatar, list attachmentPoints)
integer osListenRegex(integer channelID, string name, string ID, string msg, integer regexBitfield)
void osLoopSound(integer linknum, string sound, float volume)
integer osReplaceRegionEnvironment(integer transition, string daycycle, float daylen, float dayoffset, float altitude1, float altitude2, float altitude3)
void osLoopSoundSlave(integer linknum, string sound, float volume)
void osSetInertia(float mass, vector centerOfMass, vector principalInertiaScaled, rotation rot)
list osGetAgents()
key osNpcGetOwner(key npc)