OsCauseDamage
From OpenSimulator
(Difference between revisions)
Revolution (Talk | contribs) m (Adds example to osCauseDamage) |
|||
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''' | ||
− | + | default | |
+ | <br /> | ||
+ | { | ||
+ | <br /> | ||
+ | state_entry() | ||
+ | <br /> | ||
+ | { | ||
+ | <br /> | ||
+ | osCauseDamage(llGetOwner(), 50); | ||
+ | <br /> | ||
+ | } | ||
+ | <br /> | ||
+ | } | ||
+ | <br /> | ||
osCauseDamage(string avatar, double damage);<br>This is an updated version of Mantis 0003777;<br>It allows for damage on collision, touch, etc.<br> | osCauseDamage(string avatar, double damage);<br>This is an updated version of Mantis 0003777;<br>It allows for damage on collision, touch, etc.<br> |
Revision as of 21:54, 7 January 2010
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