llListReplaceList
function ll.ListReplaceList(Target: {any}, ListVariable: {any}, Start: number, End: number): {any}Returns a list that is Target with Start through End removed and ListVariable inserted at Start.
Returns a list replacing the slice of the Target list from Start to End with the specified ListVariable. Start and End are inclusive, so 0, 1 would replace the first two entries and 0, 0 would replace only the first list entry.
Parameters
-
Target({any}) -
ListVariable({any}) -
Start(number) -
End(number)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.ListReplaceList().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llListReplaceList