OsSetLinkStandTarget

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{osslfunc |function_syntax=osSetLinkStandTarget(integer linkNumber, vector feetTarget) |csharp_syntax= |description= Sets a position, relative to prim local frame, where to p...")
 
Line 5: Line 5:
 
Setting it to <0,0,0> disables it, default stand offset and login are used.
 
Setting it to <0,0,0> disables it, default stand offset and login are used.
 
This vector is stored on the prim, even if the script is removed
 
This vector is stored on the prim, even if the script is removed
 +
* linkNumber: the link number of the prim, LINK_THIS or LINK_ROOT
 +
if link number is invalid it will silent fail
 
|threat_level= None
 
|threat_level= None
 
|permissions= true
 
|permissions= true

Revision as of 08:55, 25 January 2020

osSetLinkStandTarget(integer linkNumber, vector feetTarget)
Sets a position, relative to prim local frame, where to place the feet of a standing avatar. The final position may not be exactly that.

Setting it to <0,0,0> disables it, default stand offset and login are used. This vector is stored on the prim, even if the script is removed

  • linkNumber: the link number of the prim, LINK_THIS or LINK_ROOT

if link number is invalid it will silent fail

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