OsGetPrimitiveParams: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>MakoBot
m some syntax modification (may be major or minor)
imported>MakoBot
m Robot: Cosmetic changes
Line 6: Line 6:
* 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].
* Check [[LSL_Status/Functions|llGetPrimitiveParams implementation status]] to see the differences from llGetPrimitiveParams.
* Check [[LSL Status/Functions|llGetPrimitiveParams implementation status]] to see the differences from llGetPrimitiveParams.
* If there is no '''prim_uuid''' prim in the scene, or the owner of the target prim is differ from the owner of the scripted prim, it will fail without error.
* If there is no '''prim_uuid''' prim in the scene, or the owner of the target prim is differ from the owner of the scripted prim, it will fail without error.
* NOTE: As of OpenSimulator 0.7.1.1, this function doesn't work, results in script error([http://opensimulator.org/mantis/view.php?id=5560 #5560]). It will able to do so on 0.7.2-dev or later.
* NOTE: As of OpenSimulator 0.7.1.1, this function doesn't work, results in script error([http://opensimulator.org/mantis/view.php?id=5560 #5560]). It will able to do so on 0.7.2-dev or later.
|
|
}}
}}

Revision as of 03:50, 4 March 2012

list osGetPrimitiveParams(key prim, list rules)
  • Gets the parameters for the prim specified by prim_uuid according to rules.
  • This function has the same behave as llGetPrimitiveParams except you can specify target prim anywhere in the scene.
  • For general information about rules, see llGetPrimitiveParams in SecondLife Wiki.
  • Check llGetPrimitiveParams implementation status to see the differences from llGetPrimitiveParams.
  • If there is no prim_uuid prim in the scene, or the owner of the target prim is differ from the owner of the scripted prim, it will fail without error.
  • NOTE: As of OpenSimulator 0.7.1.1, this function doesn't work, results in script error(#5560). It will able to do so on 0.7.2-dev or later.
Threat Level High
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
See the example of OsSetPrimitiveParams.