OsCauseHealing
From OpenSimulator
(Difference between revisions)
Revolution (Talk | contribs) m (Adds summary to osCauseHealing) |
|||
Line 2: | Line 2: | ||
'''Requires Scripted Example:''' | '''Requires Scripted Example:''' | ||
− | + | default | |
+ | <br /> | ||
+ | { | ||
+ | <br /> | ||
+ | state_entry() | ||
+ | <br /> | ||
+ | { | ||
+ | <br /> | ||
+ | osCauseHealing(llGetOwner(), 50); | ||
+ | <br /> | ||
+ | } | ||
+ | <br /> | ||
+ | } | ||
+ | <br /> | ||
osCauseHealing(string avatar, double damage);<br>This does the opposite of osCauseDamage. It gives health to the avatar.<br> | osCauseHealing(string avatar, double damage);<br>This does the opposite of osCauseDamage. It gives health to the avatar.<br> | ||
Related to [[OsCauseDamage]] | Related to [[OsCauseDamage]] |
Revision as of 21:53, 7 January 2010
Implemented December 30,2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850
Requires Scripted Example:
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