OsCauseHealing

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()
  {
+
  {
 
     osCauseHealing(llGetOwner(), 50);
 
     osCauseHealing(llGetOwner(), 50);
  }
+
  }
}
+
}
 
+
</source>
  
  

Revision as of 16:13, 5 June 2011

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

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


osCauseHealing(string avatar, double damage);
This does the opposite of osCauseDamage. It gives health to the avatar.

Related to OsCauseDamage

Personal tools
General
About This Wiki