OsGetParcelDwell

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Change 0.9.0.1 to August 2019)
(Add example)
Line 6: Line 6:
 
|function_syntax= osGetParcelDwell(vector pos)
 
|function_syntax= osGetParcelDwell(vector pos)
 
|ossl_example=<source lang = "lsl">
 
|ossl_example=<source lang = "lsl">
Coming soon ...
+
default
 +
{
 +
    state_entry() {;}
 +
 
 +
    touch_start(integer number)
 +
    {
 +
        llSay(PUBLIC_CHANNEL, "Parcel Dwell: " + osGetParcelDwell(llGetPos()));
 +
    }
 +
}
 
</source>
 
</source>
|description=Get parcel dwell.
+
|description=This function allows you to get parcel dwell.
 +
Alternatively you can also use <b>PARCEL_DETAILS_DWELL</b> with the function <b>llGetParcelDetails.</b>
 
|
 
|
 
}}
 
}}

Revision as of 05:12, 5 August 2019

osGetParcelDwell(vector pos)
This function allows you to get parcel dwell.

Alternatively you can also use PARCEL_DETAILS_DWELL with the function llGetParcelDetails.

Threat Level This function does not do a threat level check is unknown threat level
Permissions Use of this function is always allowed by default
Delay 0 seconds
Example(s)
default
{
    state_entry() {;}
 
    touch_start(integer number)
    {
        llSay(PUBLIC_CHANNEL, "Parcel Dwell: " + osGetParcelDwell(llGetPos()));
    }
}
Notes
This function was implemented in August 2019.


Personal tools
General
About This Wiki