OsCauseHealing
From OpenSimulator
(Difference between revisions)
m (XEngine to OSSL) |
m (Script change) |
||
Line 5: | Line 5: | ||
|function_syntax= osCauseHealing(key avatar, float healing) | |function_syntax= osCauseHealing(key avatar, float healing) | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
+ | // | ||
+ | // osCauseHealing Script Example | ||
+ | // | ||
+ | |||
default | default | ||
{ | { | ||
− | + | state_entry() | |
− | + | { | |
− | + | llSay(PUBLIC_CHANNEL, "Touch to see osCauseHealing usage."); | |
− | + | } | |
+ | |||
+ | touch_start(integer number) | ||
+ | { | ||
+ | osCauseHealing(llGetOwner(), 10); | ||
+ | } | ||
} | } | ||
</source> | </source> |
Revision as of 11:51, 24 November 2020
osCauseHealing(key avatar, float healing)
| |
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. | |
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); } } |