OsCauseDamage

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
'''Implemented December 30,2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850'''
 
'''Implemented December 30,2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850'''
 
+
<source lang="lsl">
default
+
default
{
+
{
state_entry()
+
  state_entry()
 
   {
 
   {
    osCauseDamage(llGetOwner(), 50);
+
      osCauseDamage(llGetOwner(), 50);
 
   }
 
   }
}
+
}
 
+
</source>
  
 
osCauseDamage(string avatar, double damage);
 
osCauseDamage(string avatar, double damage);

Revision as of 16:05, 5 June 2011

Implemented December 30,2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850

default
{
   state_entry()
   {
       osCauseDamage(llGetOwner(), 50);
   }
}

osCauseDamage(string avatar, double damage); This is an updated version of Mantis 0003777. It allows for damage on collision, touch, etc.

Related to OsCauseHealing

Personal tools
General
About This Wiki