PageRenderTime 241ms CodeModel.GetById 91ms app.highlight 1ms RepoModel.GetById 147ms app.codeStats 0ms

/AuroraDocs/OSSLFunctions/osCauseHealing.lsl

https://bitbucket.org/VirtualReality/software-testing
Unknown | 23 lines | 23 code | 0 blank | 0 comment | 0 complexity | c1250979ad55096a698c0a53ff878968 MD5 | raw file
 1// ----------------------------------------------------------------
 2// Example / Sample Script to show function use.
 3//
 4// Script Title:    osCauseHealing.lsl
 5// Script Author:
 6// Threat Level:    High
 7// Script Source:   http://opensimulator.org/wiki/osCauseHealing
 8//
 9// Notes: See Script Source reference for more detailed information
10// This sample is full opensource and available to use as you see fit and desire.
11// Threat Levels only apply to OSSL & AA Functions
12//================================================================
13// C# Source Line:    public void osCauseHealing(string avatar, double healing)
14// Inworld Script Line:    osCauseHealing(key targetuuid, integer healing);
15//
16default
17{
18    state_entry()
19    {
20        // healing: 0 = none, 100 = full health
21        osCauseHealing(llGetOwner(), 50);
22    }
23}