OsResetAllScripts

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
  
 
This function can be heavy, and can have negative side effects due to the asynchronous nature of script engines.
 
This function can be heavy, and can have negative side effects due to the asynchronous nature of script engines.
 +
 +
|ossl_example=<source lang="lsl">
 +
 +
//
 +
// osResetAllScripts Script Example
 +
//
 +
 +
 +
integer AllLinkSet = 0;
 +
 +
default
 +
{
 +
    touch_start(integer total_number)
 +
    {
 +
        osResetAllScripts(AllLinkSet);
 +
    }
 +
}
 +
 +
</source>
  
 
|additional_info=
 
|additional_info=
 
This function was added to 0.9.1.0, Oct 10, 2019
 
This function was added to 0.9.1.0, Oct 10, 2019
 
}}
 
}}

Revision as of 10:04, 24 November 2020

osResetAllScripts(integer AllLinkSet)
Resets all the scripts on the same prim if AllLinkSet is FALSE( or 0) or on same linkset if AllLinkSet is TRUE ( or 1 )

This function can be heavy, and can have negative side effects due to the asynchronous nature of script engines.

Threat Level This function does not do a threat level check
Permissions Use of this function is always allowed by default
Extra Delay 0 seconds
Example(s)
//
// osResetAllScripts Script Example
//
 
 
integer AllLinkSet = 0;
 
default
{
    touch_start(integer total_number)
    {
        osResetAllScripts(AllLinkSet);
    }
}
Notes
This function was added to 0.9.1.0, Oct 10, 2019


Personal tools
General
About This Wiki