Difference between revisions of "LlDetermineType"

From Second Life Wiki
Jump to navigation Jump to search
(New page: <pre> integer llDetermineType(string source, integer start, integer end); if(llDetermineType(msg,0,-1)==1) { integer new_number = msg; //llDetermineType determines the type of a pa...)
 
Line 7: Line 7:
}
}
</pre>
</pre>
{{LSL_Function/negative_index|false|number|self=*}}{{LSL_Function
|func_id
|mode=request
|func_sleep=0.0
|func_energy=10.0
|func=llChildPrims2List
|sort=
|p1_type=integer
|p1_name=total_number_of_linked_prims
|p1_desc=
|func_footnote=
|func_desc
|return_text=of child prim keys.
|return_type=list
|spec
|caveats
|examples
|helpers
|related
|notes=Should make it easier for scripters to get all child prim keys. Can be done using [[llGetLinkKey]] example is already provided.
|cat1
|cat2
}}

Revision as of 19:58, 4 May 2009

integer llDetermineType(string source, integer start, integer end);
if(llDetermineType(msg,0,-1)==1)
{
    integer new_number = msg;
    //llDetermineType determines the type of a part of a string and returns the result. In this istance, returning 1 will indicate that it is an integer instead of a key or rotation.
}
Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: list llChildPrims2List( integer total_number_of_linked_prims );
0.0 Forced Delay
10.0 Energy

Returns a list of child prim keys.

• integer total_number_of_linked_prims

number does not support negative indexes.

Caveats

  • If number is out of bounds the script continues to execute without an error message.

Examples

Notes

Should make it easier for scripters to get all child prim keys. Can be done using llGetLinkKey example is already provided.

Deep Notes

Signature

//function list llChildPrims2List( integer total_number_of_linked_prims );