OsGetPrimitiveParams
From OpenSimulator
(Difference between revisions)
m (Updated threat level to match OSSL_Api.cs) |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{osslfunc | + | {{osslfunc |
− | threat_level = | + | |threat_level=None |
− | | | + | |permissions=${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
− | + | |delay=0 | |
− | osGetPrimitiveParams(key | + | |additional_info=This function was added in 0.7 |
− | + | |function_syntax=list osGetPrimitiveParams(key primId, list rules) | |
− | | | + | |ossl_example=See the example of [[OsSetPrimitiveParams]]. |
− | ossl_example = See the example of [[OsSetPrimitiveParams]]. | + | |description=* Gets the parameters for the prim specified by '''primId''' according to '''rules'''. |
− | | | + | |
− | + | ||
* This function has the same behave as llGetPrimitiveParams except you can specify target prim anywhere in the scene. | * This function has the same behave as llGetPrimitiveParams except you can specify target prim anywhere in the scene. | ||
* For general information about '''rules''', see [http://wiki.secondlife.com/wiki/LlGetPrimitiveParams llGetPrimitiveParams in SecondLife Wiki]. | * For general information about '''rules''', see [http://wiki.secondlife.com/wiki/LlGetPrimitiveParams llGetPrimitiveParams in SecondLife Wiki]. | ||
− | + | * If there is prim with id '''primId''' in the scene, or the owner of the target prim is different from the owner of the scripted prim, it will fail without error. | |
− | * If there is | + | |
− | + | ||
| | | | ||
}} | }} |
Revision as of 18:47, 30 March 2019
list osGetPrimitiveParams(key primId, list rules)
| |
| |
Threat Level | None |
Permissions | ${XEngine|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
Extra Delay | 0 seconds |
Example(s) | |
See the example of OsSetPrimitiveParams. | |
Notes | |
This function was added in 0.7 |