OsCauseDamage

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added permissions and delay information)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=High
 
|threat_level=High
 +
|permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
 +
|delay=0
 
|function_syntax=void osCauseDamage(key avatar, float damage)
 
|function_syntax=void osCauseDamage(key avatar, float damage)
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">

Revision as of 07:11, 25 October 2017

void osCauseDamage(key avatar, float 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.

See also OsCauseHealing.

Threat Level High
Permissions ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
default
{
   state_entry()
   {
       osCauseDamage(llGetOwner(), 50);
   }
}
Personal tools
General
About This Wiki