OsGetPrimCount: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Ubit Created page with "{{osslfunc |threat_level=none ||permissions=${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |delay=0 |function_syntax=integer osTeleportObject(key objectID) |ossl_example=..." |
imported>Ubit No edit summary |
||
| Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
|threat_level= | |threat_level=ignore | ||
|permissions=true | |||
|delay=0 | |delay=0|function_syntax=integer osGetPrimCount()<br> | ||
|function_syntax=integer | integer osGetPrimCount(key objectID)<br> | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
| Line 14: | Line 14: | ||
touch_start(integer num) | touch_start(integer num) | ||
{ | { | ||
llOwnerSay(" this linkset has " + (string) osGetPrimCount() + " prims"); | |||
} | } | ||
} | } | ||
</source> | </source> | ||
|description= | |description= | ||
===== Arguments: ===== | ===== Arguments: ===== | ||
Revision as of 22:01, 14 June 2023
integer osGetPrimCount()
integer osGetPrimCount(key objectID) | |
===== Arguments: =====
| |
| Threat Level | ignore is unknown threat level |
| Permissions | Use of this function is always allowed by default |
| Extra Delay | 0 seconds |
| Example(s) | |
default
{
state_entry()
{
llSay(0, "Script running");
}
touch_start(integer num)
{
llOwnerSay(" this linkset has " + (string) osGetPrimCount() + " prims");
}
}
| |
| Notes | |
| This function was added in 0.9.3.0 | |