Michi Core Posted June 6, 2019 Share Posted June 6, 2019 Hello my friends, i will try to make it simple, what it does: if (message == "MORE...") { if (final < llGetInventoryNumber(INVENTORY_ANIMATION) - 1) { ini += 9; final += 9; } BUFFER = ["STOP"] + ["MORE..."] + ["...BACK"] + llList2List(ANIMS, ini, final); Dialog(chave, BUFFER); its reading all animations inside the content tab and listing them in the dialog. what i want: it should check certain animation names and dont list them in the dialog menu. something like if > getinventorynumber "animationname" ? is there a simple way do exclude certain animation names from the dialog? BUFFER = ["STOP"] + ["MORE..."] + ["...BACK"] + llList2List(ANIMS, ini, final); i tried to mess around with that part, but i couldnt figure it out yet. Link to comment Share on other sites More sharing options...
Kardargo Adamczyk Posted June 6, 2019 Share Posted June 6, 2019 you can use llListFindList to find the string you need to exclude and then llDeleteSublist to delete that item, run it in a for loop for every item you need to exclude. Link to comment Share on other sites More sharing options...
Rolig Loon Posted June 6, 2019 Share Posted June 6, 2019 You're making a multipage menu system. There are many good examples in the Scripting Library, each of which has had to face that same challenge in logic. There's no single "best" way to do it, but you may get ideas by comparing them. For example, and Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now