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
list llGetBoundingBox(string obj)
integer llCeil(float f)
void llSetClickAction(integer action)
void llSetLinkSitFlags(integer linknum, integer flags)
rotation llRotBetween(vector start, vector end)
void llSetRemoteScriptAccessPin(integer pin)
void llSetTimerEvent(float sec)
integer llOverMyLand(string id)