OsCauseDamage

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Script change)
m (Add See Also)
Line 23: Line 23:
 
</source>
 
</source>
 
|description=Implemented December 30,2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850
 
|description=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.<br>
This is an updated version of Mantis 0003777. It allows for damage on collision, touch, etc.
+
 
+
 
See also [[OsCauseHealing]].
 
See also [[OsCauseHealing]].
|
+
|additional_info=
 
}}
 
}}
 +
'''See Also:'''
 +
* [[osCauseDamage]]
 +
* [[osCauseHealing]]

Revision as of 14:07, 3 December 2020

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 ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
//
// osCauseDamage Script Example
//
 
default
{
    state_entry()
    {
        llSay(PUBLIC_CHANNEL, "Touch to see osCauseDamage usage.");
    }
 
    touch_start(integer number) 
    {
        osCauseDamage(llGetOwner(), 10);
    }
}


See Also:

Personal tools
General
About This Wiki