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 llParcelMediaQuery(list aList)
integer llGetDayOffset()
void llSetAnimationOverride(string animState, string anim)
void llSetRot(rotation rot)
string llDumpList2String(list src, string seperator)
string llGetAnimationOverride(string anim_state)
string llToLower(string source)
string llGetAnimation(key id)