Jump to content

How to create a loading progress text?


iamyourneighbour
 Share

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

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

Recommended Posts

Hello all,

Been trying to make a custom text road sign, since it takes time for the notecard to be read, I thought it would be good to add a percentage loading text that shows abve the item when it's priming itself. 

I have been looking for what to use with no luck so far, any suggestions would be highly appreciated :)!

Link to comment
Share on other sites

depending on what text you want to see, ( numbers, bar, etc)

you would need a list.

Ex:

list Charsetz = ["   ","▏","▎","▍","▌","▋","▊","▉","█","█"];
list Charsetx = [" ","█","█","█","█","█","█","█","█","█ - Max!"];

 

then you would need to increment an integer and change the text

something like ...

 

             loading = loading + num;
             place = llFloor(loading / 2);
             zList = llList2List(Charsetx,0,place);
             pList = llDumpList2String(zList,"" );            
             llSetText("Progress: " + pList, <1.0, 1.0, 1.0>, 1.0);

 mebbe in a timer event?

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3259 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...