| 01-16-2003, 02:18 AM | #1 |
Guest | Does anybody know a way with WE to build maps that can access Variables and arrays within the Game itself? What I mean is to be able to use some of the variables that WC tracks automatically I.E Hero kills Player Score Hero Items any basic player value for the scoreboard. I've seen a few triggers built that mimic the functions of these variables but it would be much simpler to be able to use what the Game is already tracking. Another issue I'm having with this is the fact that I want to count a hero death even if the affected hero has an ahnk similiar to the way the scoreboard does it. I can get a count with the final death of the hero going but not a count with the kills with ahnks. This all stems back to building a hero leaderboard for Aeon style maps, I've gotten many suggestions that have been helpful but so far all involve basically re-writing things that already work by default I.E. how an ahnk behaves. |
| 01-16-2003, 03:34 AM | #2 |
Guest | You can: 1) Use your own variables to track 2) Use a game-display text message trigger, and use convert integer/real-->chat string Using method 2 requires you NOT needing any vars. The game uses whatever it has as that value already. I htink you can use convert integer/real-->string in leaderboards and the like too. |
| 01-24-2003, 09:07 PM | #3 |
Guest | OK, #2 is what I'm trying to accomplish, but I'm unclear as to how to actually get it done? How do I use the 'Real' variable that refers to hero kills from the leaderboard? |
| 01-25-2003, 10:42 AM | #4 |
just a thought: when you die, do you "use" an ank? if so, you could have a trigger like this: Event: Player Owned Unit Event: Unit owned by Player X "USes an Item" (have one of these for each player) Conditions: Item Type comparison: Item Type of Item Being Manipulated = Ank Actions: whatever you want to do to the leaderboard fr0ggE |
