OsCauseDamage

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
{| width="100%" style="border: thin solid black"
+
{{osslfunc|
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
+
threat_level = High
|- valign="top"
+
|
|'''Threat Level''' || High
+
function_syntax = <source lang="lsl">
|- valign="top"
+
|'''Function Syntax''' || <source lang="lsl">
+
 
osCauseDamage(string avatar, double damage);
 
osCauseDamage(string avatar, double damage);
 
</source>
 
</source>
|- valign="top"
+
|
|'''Example(s)||<source lang="lsl">
+
ossl_example = <source lang="lsl">
 
default
 
default
 
{
 
{
Line 17: Line 15:
 
}
 
}
 
</source>
 
</source>
|}
+
|  
Implemented December 30,2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850
+
additional_info = 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.
  
 
See also [[OsCauseHealing]].
 
See also [[OsCauseHealing]].
 
+
|
[[Category:OSSL Functions]]
+
}}

Revision as of 13:52, 12 June 2011

osCauseDamage(string avatar, double damage);
No descriptions provided
Threat Level High
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
default
{
   state_entry()
   {
       osCauseDamage(llGetOwner(), 50);
   }
}
Notes
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