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 | + | default |
− | + | { | |
− | { | + | state_entry() |
− | + | { | |
− | state_entry() | + | osCauseDamage(llGetOwner(), 50); |
− | + | } | |
− | { | + | } |
− | + | ||
− | 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]] | |
+ | |||
+ | |||
+ | [[Category:OSSL]] |
Revision as of 18:44, 17 November 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