OsCauseDamage

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
m
Line 2: Line 2:
 
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 
|- valign="top"
 
|- valign="top"
|'''Threat Level''' || <Threat Level goes here>
+
|'''Threat Level''' || High
 
|- valign="top"
 
|- valign="top"
 
|'''Function Syntax''' || <source lang="lsl">
 
|'''Function Syntax''' || <source lang="lsl">
Line 18: Line 18:
 
</source>
 
</source>
 
|}
 
|}
'''Implemented December 30,2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850'''
+
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.
  
Related to [[OsCauseHealing]]
+
See also [[OsCauseHealing]].
  
 
[[Category:OSSL Functions]]
 
[[Category:OSSL Functions]]
[[Category:OSSL functions without threat level]]
 

Revision as of 12:34, 11 June 2011

OsCauseDamage
Threat Level High
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.

See also OsCauseHealing.

Personal tools
General
About This Wiki