Jump to content

llGetInventoryNumber Help


Michi Core
 Share

You are about to reply to a thread that has been inactive for 1778 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

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

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

You are about to reply to a thread that has been inactive for 1778 days.

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
 Share

×
×
  • Create New...