Difference between revisions of "Damage"

From Second Life Wiki
Jump to navigation Jump to search
m (Minor spell-checking & adding Haiku)
 
Line 1: Line 1:
{{Help|Avatar=*|Glossary=*}}
{{Help|Avatar=*|Glossary=*}}
A [[parcel]] can be "Damage"/"Not Safe" enabled, it means [[Resident]]s can be harmed on that parcel.
When a [[parcel]] is set to "Damage"/"Not Safe", [[Resident]]s can be "harmed" on that parcel.


Residents take damage from collisions with physical objects. Once the Resident's energy reaches 0%, s/he's send back to the [[home]] destination. Residents '''can not''' permanently die in Second Life.
Residents take damage from collisions with physical objects. Once the Resident's energy reaches 0%, s/he's teleported back to their [[home]] destination. Residents '''cannot''' permanently die in Second Life.


== Damage Scripting for Weapons ==
== Damage Scripting for Weapons ==
[[llSetDamage]](float damage): Sets the amount of damage that will be done when this object hits an agent. If '''damage''' is greater than 100.0, it will instantly "kill" the agent.
[[llSetDamage]](float damage): Sets the amount of damage that will be done when this object hits an agent. If '''damage''' is greater than 100.0, it will instantly "[[Death|kill]]" the agent.


== See Also ==
== See Also ==
Line 12: Line 12:
* [[Weapon]]
* [[Weapon]]
* {{LSLG|PARCEL_FLAG_ALLOW_DAMAGE}}
* {{LSLG|PARCEL_FLAG_ALLOW_DAMAGE}}
----
{{Collapsible_Table|collapsed=true|table-class=haiku|table-style=width:100%;|title-style=text-align:left;|title=<h4 style="margin-top:0;">Haiku</h4>|content={{!}}
{{Haiku|Violent sundown|A harmful collision kills|the poor resident|author=[[User:Gwyneth_Llewelyn|Gwyneth Llewelyn]]}}
}}
[[Category:Articles with haiku]]

Latest revision as of 12:47, 5 April 2022

When a parcel is set to "Damage"/"Not Safe", Residents can be "harmed" on that parcel.

Residents take damage from collisions with physical objects. Once the Resident's energy reaches 0%, s/he's teleported back to their home destination. Residents cannot permanently die in Second Life.

Damage Scripting for Weapons

llSetDamage(float damage): Sets the amount of damage that will be done when this object hits an agent. If damage is greater than 100.0, it will instantly "kill" the agent.

See Also


Haiku

Violent sundown
A harmful collision kills
the poor resident
Gwyneth Llewelyn