System Floating Progress Bar for spawning units

Rinpun

Ex TH Member
v2 is up! (Still written in JASS)

You can now add multiple units to the spawn and remove as wanted. There is much you can do with this addition, from providing upgrades to add more units to the spawn to upgrading those units (by removing the old ones and adding new ones).

I originally wrote this system for Orc_Tamer, inspired somewhat by the Bomber game by Blizzard. I've written this system from scratch and I've used KaTTana's system. Emjlr3 helped me perfect the progress bar logic, making it almost 10x faster than when I originally wrote the system.

The sample map included is set up to run besides read, and I suggest you run it to see the progress bar system in action. The functions are the last ones below a little header denoting them. I suggest, however, that you make sure the KaTTana functions included are part of your header as well. Either way, when it comes down to it, all you need to do is either use GUI custom script or JASS script to call the functions you see in the JASS.

There are now multiple functions. This is part of the system of allowing you to modify the spawn bar while it's still running. You can change the spawn coordinates at any time, the order and its coordinates, and much more. You can even reset the spawn bar to make it move faster and change its length, so you could create an upgrade that raises the speed of the spawn bars.

To see the full explanation, read the Initialization trigger to see how it works. You can also play around with the arguments you send to the functions and see what happens.

Enjoy! It would be nice if you could credit emjlr3 and I for creating this system if you choose to use it.
 

Attachments

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    The old shoutbox wasn't supported anymore. We updated xenForo, so it had to be replaced.
  • jonas jonas:
    let's see if everyone finds it... the nice thing about the shoutbox was I could check on it even while logged out, but the existence of this one is hidden when you're not logged in
  • Ghan Ghan:
    We can fix that.
  • Ghan Ghan:
    Chat should show on the sidebar when not logged in now.
  • Ghan Ghan:
    (You'll still need to log in to post messages)
  • Ghan Ghan:
    Test!
  • tom_mai78101 tom_mai78101:
    I must be in a test server.
  • tom_mai78101 tom_mai78101:
    Nice, Twitter tweets embedding now works
  • Wizard Wizard:
    Yup.
  • Ghan Ghan:
    Excellent.
  • Ghan Ghan:
    @tom_mai78101 Hello there.
  • Ghan Ghan:
    Tagging works in the chat too.
  • tom_mai78101 tom_mai78101:
    @Ghan Missed it.
  • Wizard Wizard:
    Still fixing things here and there. Added widgets to the portal, will make it match the ones here on the forum index tomorrow.
  • Ghan Ghan:
    The venerable World Editor Tutorials site has been converted to HTTPS at last.
  • jonas jonas:
    cool
  • jonas jonas:
    and I can even edit my messages, nice
  • seph ir oth seph ir oth:
    GENERAL CHIT CHAT, YOU ARE A BOLD ONE
  • Ghan Ghan:
    Hello there
  • The Helper The Helper:
    this new chatbox is great and the forum software update is great too
    +1
  • The Helper The Helper:
    upgrade has fixed forum registration spam problem
  • tom_mai78101 tom_mai78101:
    Something tells me we might be able to customize the chatbox a bit, considering that there's a gap under every message.
  • Wizard Wizard:
    Going to deploy a fix soon, just had to take some time for myself this weekend.
  • Varine Varine:
    Unbelievable. Time for yourself? How dare you!

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top