OsCauseHealing

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Script change)
m (Add See Also)
Line 4: Line 4:
 
|delay=0
 
|delay=0
 
|function_syntax= osCauseHealing(key avatar, float healing)
 
|function_syntax= osCauseHealing(key avatar, float healing)
 +
|description=This does the opposite of osCauseDamage. It gives health to the avatar.
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">
 
//
 
//
Line 22: Line 23:
 
}
 
}
 
</source>
 
</source>
|description=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 does the opposite of osCauseDamage. It gives health to the avatar.
+
 
+
See also [[OsCauseDamage]].
+
|
+
 
}}
 
}}
 +
'''See Also:'''
 +
* [[osCauseDamage]]
 +
* [[osCauseHealing]]

Revision as of 14:09, 3 December 2020

osCauseHealing(key avatar, float healing)
This does the opposite of osCauseDamage. It gives health to the avatar.
Threat Level High
Permissions ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
//
// osCauseHealing Script Example
//
 
default
{
    state_entry()
    {
        llSay(PUBLIC_CHANNEL, "Touch to see osCauseHealing usage.");
    }
 
    touch_start(integer number) 
    {
        osCauseHealing(llGetOwner(), 10);
    }
}
Notes
Implemented December 30,2009 by Revolution in GIT# 87959464c9db8948bed89909913400bc2eb7524d - Rev 11850


See Also:

Personal tools
General
About This Wiki