OsGetLinkSitActiveRange

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Fix link in desc)
Line 2: Line 2:
 
|function_syntax=float osGetLinkSitActiveRange(integer linkNumber)
 
|function_syntax=float osGetLinkSitActiveRange(integer linkNumber)
 
|csharp_syntax=
 
|csharp_syntax=
|description= returns the sit active range of the selected prim, see [[osSetSitActiveRange]]
+
|description= returns the sit active range of the selected prim, see [[osSetLinkSitActiveRange]]
 
* linkNumber: the link number of the prim, LINK_THIS or LINK_ROOT
 
* linkNumber: the link number of the prim, LINK_THIS or LINK_ROOT
 
* range > 0: if a avatar if far from the prim by more than that value, a sit request is silent ignored
 
* range > 0: if a avatar if far from the prim by more than that value, a sit request is silent ignored

Revision as of 05:47, 8 February 2020

float osGetLinkSitActiveRange(integer linkNumber)
returns the sit active range of the selected prim, see osSetLinkSitActiveRange
  • linkNumber: the link number of the prim, LINK_THIS or LINK_ROOT
  • range > 0: if a avatar if far from the prim by more than that value, a sit request is silent ignored
  • range == 0: disables this limit. Region default is used. Current that is unlimited if a sit target is set or physics can sit the avatar, otherwise 10m
  • range < 0: sits are disabled. Requests are silently ignored

if link number is invalid it returns -2147483648 (int min value)

Threat Level None
Permissions Use of this function is always allowed by default
Extra Delay 0 seconds
Notes
This function was added in 0.9.2.0
Personal tools
General
About This Wiki