OsSetLinkSitActiveRange: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>Ubit
No edit summary
imported>Ubit
No edit summary
Line 2: Line 2:
|function_syntax=osSetLinkSitActiveRange(integer linkNumber, float range)
|function_syntax=osSetLinkSitActiveRange(integer linkNumber, float range)
|csharp_syntax=
|csharp_syntax=
|description= sets a limit on how far a avatar can be to have a sit request accepted
|description= sets a limit on how far a avatar can be to have a sit request accepted, or disable sits
* linkNumber is link number of the prim to change or one of LINK_SET,LINK_ROOT, LINK_ALL_OTHERS,LINK_ALL_CHILDREN or LINK_THIS
* linkNumber is link number of the prim to change or one of LINK_SET,LINK_ROOT, LINK_ALL_OTHERS,LINK_ALL_CHILDREN or LINK_THIS
* 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 13:49, 25 January 2020

osSetLinkSitActiveRange(integer linkNumber, float range)
sets a limit on how far a avatar can be to have a sit request accepted, or disable sits
  • linkNumber is link number of the prim to change or one of LINK_SET,LINK_ROOT, LINK_ALL_OTHERS,LINK_ALL_CHILDREN or LINK_THIS
  • 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