| 03-19-2005, 09:30 AM | #1 |
I saw that element_5 made a little example of the HP board. I found it, but it only solved most of the problem. I'm actually making a "just for fun" map related to Warchasers. But, here's the thing, I don't want the wisps health on the board, I want the hero's HP chosen afterwards. The heroes are chosen, basically by a triggered charm ability(I could just use charm, but I don't think it works on heroes). So, instead of making a "copy", you actually get to take the hero, and etc. etc. etc. Can someone help? :( Here's his little example. He will be given credit, even though I don't plan on releasing anything I make. If I'm being kind of confusing, just say so, I'll try to clear it up. I'm sleepy right now. |
| 04-15-2005, 03:55 AM | #2 |
Howdy ^_^ I came upon this thread (and your PM) when I visited these boards on a whim today (I haven't been active here in ages). I've attached a map that answers all the PM questions and to answer your question here: Check out the "Get Hero Info" trigger in my map. You just need to add these lines from that trigger to your trigger that selects the Hero: Code:
Set unitHero[intNumHeros] = (Picked unit) Set intNumHeros = (intNumHeros + 1) PS: For those not familiar with the original "HP Board.w3x" I made, it was back before there were any Multiboard triggers in the GUI (standard, not UMSWE etc.). In this new version, I have redone the multiboard trigger using the GUI and seperated it into a "Create" and "Update" trigger. Also changed is that the HPs change color now at 4 different percentages (definable with two variables): Fine (50%-100% HP), Wounded (25%-49% HP), Critical (1%-24% HP), and Dead (0 HP). You all should check it out :god_help_us: |
| 04-15-2005, 05:11 AM | #3 |
This is will help so much! Thanks! (I wish I could give you like 4 rep. points, but I can't. >.<) |
| 04-15-2005, 06:32 AM | #4 | |
Quote:
|
