Author Topic: Stats  (Read 2546 times)

0 Members and 1 Guest are viewing this topic.

Offline Radical Pi

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1143
  • Rating: +5/-2
    • View Profile
    • RealityRevolution
Stats
« on: January 30, 2006, 01:08:00 pm »
Well, I don't want to give the stats away, so I'll use ABC, DEF, GIH, JKL, MNO, PQR, STU, VWX, and YZ0 as replacement stats here. Yes, THERE ARE 9 STATS :evil:devil.gif !!!

But back to the point, I decided to replace the bottom screen pause menu with the stats. I want them to line up nicely, so I need to know: Is it possible to put zero's in to line up the text?

Like this but without the quotes:c1-->
CODE
ec1Text(33,0,"ABC ","000","/","000c2
ec2No quotes around the 000's would make it just a 0.

If I don't do that, I would just need different lines of Text(. So its mostly a question of how much code does the 3 digit zero trick require, if it is even possible at all?

*Starting at the end of the next post, I will reveal each of the stats, but one at a time. :evil:devil.gif:Dbiggrin.gif

FAST EDIT: since when is there a fast edit?/?/?/?
One of these days I'll get a sig I'm really proud of.

Liazon

  • Guest
Stats
« Reply #1 on: January 30, 2006, 01:37:00 pm »
no idea when the fast edit came, but it's real handy :)smile.gif

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Stats
« Reply #2 on: January 30, 2006, 02:09:00 pm »
sound nice, but could you explain more? :)smile.gif

I dunno if we can add zero to the numbers, I would need to do a routine that does that and it might be a bit slow

the fast edit has been added as few days ago, its a code I found on invisionfree, pretty awesome when UTI server is fast because it load a bit faster and u can edit many posts at once on the same page

Offline Radical Pi

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1143
  • Rating: +5/-2
    • View Profile
    • RealityRevolution
Stats
« Reply #3 on: January 30, 2006, 02:27:00 pm »
cool :)smile.gif

More explanation:
I have the stats (one to be revealed below) on the bottom screen in small font. I want to line it all up with Text(#,#,"stat1 info","stat2 info") meaning more than one stat per Text(. But I would like the stats in the second row to line up, which would need place-holding zeros to keep the length the same.
I need to know if it is possible to do that with extra zeros. My experiments showed me no, because substrings must have a length more than zero.
At this point I expect the formula that works this to be too long, so I'll split the Text( up.

Stat #1: LIF
Battle Life, the stat universally known as HP, but all my stats are three lettered.

FAST EDIT: wow that's fun!
One of these days I'll get a sig I'm really proud of.