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'''
+
{|  width="100%" style="border: thin solid black"
<source lang="lsl">
+
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 +
|- valign="top"
 +
|'''Threat Level''' || <Threat Level goes here>
 +
|- valign="top"
 +
|'''Function Syntax''' || <source lang="lsl">
 +
osCauseDamage(string avatar, double damage);
 +
</source>
 +
|- valign="top"
 +
|'''Example(s)||<source lang="lsl">
 
default
 
default
 
{
 
{
Line 9: Line 17:
 
}
 
}
 
</source>
 
</source>
 
+
|}
osCauseDamage(string avatar, double damage);
+
'''Implemented December 30,2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850'''
 
+
  
 
This is an updated version of Mantis 0003777. It allows for damage on collision, touch, etc.
 
This is an updated version of Mantis 0003777. It allows for damage on collision, touch, etc.
Line 18: Line 25:
  
  
 +
 +
[[Category:OSSL Functions]]
 
[[Category:OSSL]]
 
[[Category:OSSL]]
 
[[Category:OSSL functions without threat level]]
 
[[Category:OSSL functions without threat level]]

Revision as of 14:31, 8 June 2011

OsCauseDamage
Threat Level <Threat Level goes here>
Function Syntax
osCauseDamage(string avatar, double damage);
Example(s)
default
{
   state_entry()
   {
       osCauseDamage(llGetOwner(), 50);
   }
}

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

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