llSetDamage
LSLvoid llSetDamage(float damage)
Sets the amount of damage that will be done to an avatar that this task hits. Task will be killed.\ Sets the amount of damage that will be done to an avatar that this object hits. This object will be destroyed on damaging an avatar, and no collision event is triggered.
Parameters
| Type | Name |
|---|---|
| float | damage |
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.
More in LSL
void llLinkSetSoundRadius(integer linknumber, float radius)
integer llGetObjectPrimCount(key objectId)
float llVecMag(vector v)
integer llSameGroup(string agent)
integer llGetRegionDayLength()
void llStartAnimation(string anim)
string llDumpList2String(list src, string seperator)
void llSetScriptState(string name, integer run)