OsSetSitActiveRange

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
 
* range < 0: sits are disabled. Requests are silently ignored
 
* range < 0: sits are disabled. Requests are silently ignored
 
this value is stored on the prim, even if the script is removed
 
this value is stored on the prim, even if the script is removed
|threat_level= none
+
|threat_level= None
|permissions= none
+
|permissions= true
 
|delay=0
 
|delay=0
 
|ossl_example=
 
|ossl_example=
 
|additional_info=This function was added in 0.9.2.0
 
|additional_info=This function was added in 0.9.2.0
 
}}
 
}}

Revision as of 13:15, 23 January 2020

osSetActiveRange(float range)
sets a limit on how far a avatar can be to accept a sit request
  • 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

this value is stored on the prim, even if the script is removed

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