OsGetParcelDwell

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Change 0.9.0.1 to August 2019)
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|permissions=Use of this function is always allowed by default
 
|permissions=Use of this function is always allowed by default
 
|delay=0
 
|delay=0
|additional_info=This function was implemented in August 2019.
+
|additional_info=This function was added in 0.9.1.0 Dev. July, 26 2019.
|function_syntax= osGetParcelDwell(vector pos)
+
|function_syntax=integer 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 03:02, 21 October 2019

integer 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
Extra Delay 0 seconds
Example(s)
default
{
    state_entry() {;}
 
    touch_start(integer number)
    {
        llSay(PUBLIC_CHANNEL, "Parcel Dwell: " + osGetParcelDwell(llGetPos()));
    }
}
Notes
This function was added in 0.9.1.0 Dev. July, 26 2019.


Personal tools
General
About This Wiki