OsNpcSetRot: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Kcozens m Added note stating which version of OpenSim introduced this function |
imported>Ubit No edit summary |
||
| Line 4: | Line 4: | ||
|description=Set the rotation of the avatar. Only setting the rotation in the Z plane in Euler rotation will have any meaningful effect (turning the avatar to point in one direction or another). Setting X or Y Euler values will result in the avatar rotating in an undefined manner. | |description=Set the rotation of the avatar. Only setting the rotation in the Z plane in Euler rotation will have any meaningful effect (turning the avatar to point in one direction or another). Setting X or Y Euler values will result in the avatar rotating in an undefined manner. | ||
|threat_level=High | |threat_level=High | ||
|permissions=${ | |permissions=${OSSL|osslNPC} | ||
|delay=0 | |delay=0 | ||
|ossl_example= | |ossl_example= | ||
|additional_info=This function was added in 0.7.2-post-fixes | |additional_info=This function was added in 0.7.2-post-fixes | ||
}} | }} | ||
Revision as of 04:05, 26 September 2019
osNpcSetRot(key npc, rotation rot)
| |
| Set the rotation of the avatar. Only setting the rotation in the Z plane in Euler rotation will have any meaningful effect (turning the avatar to point in one direction or another). Setting X or Y Euler values will result in the avatar rotating in an undefined manner. | |
| Threat Level | High |
| Permissions | ${OSSL|osslNPC} |
| Extra Delay | 0 seconds |
| Notes | |
| This function was added in 0.7.2-post-fixes | |