From fb4067c84493582bd3897eb7aee846c19bf334af Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 15 Jul 2009 00:10:01 +0000 Subject: A stab at implementing llSetDamage. Not persistent. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 1b4674d..c74a41b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -3833,7 +3833,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llSetDamage(double damage) { m_host.AddScriptLPS(1); - NotImplemented("llSetDamage"); + m_host.ParentGroup.Damage = (float)damage; } public void llTeleportAgentHome(string agent) -- cgit v1.1