• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Map Help

Status
Not open for further replies.
Level 2
Joined
Dec 11, 2018
Messages
21
Hi there Everyone! It´s me, the Noob of WC3 Editor, again.

I have a couple Ideas how I can improve my map Im currently making, however I don´t know if it´s possible to do so.
Multiboard
I would like to make a Multiboard that tracks every player (6 total). It need to track how many times they have died, but also how much damage they have taken in total if possible. It would also be really cool if the multiboard could at the same time rank these players like a competition from 1st place to 6th place.

Finally with or without above, I was wondering if it´s possible to make some kind of scoring system where players get points when they reach a certain area or region. Let´s say that they get 100 points per checkpoint reached. The multiboard would then keep track of these scores and show it on the multiboard.

Items
I have tried to make triggers to give a hero an random item, from a table of chosen ones, when they enter a certain region. I was thinking of doing like Mario kart style where someone picks up a box and then they get a random Item from it that they can use with 1 charge (but I want it to give the item when the hero enters the region). However I could only find how to setup a Itemtable for drops. Is it possible to make a itemtable just like you do with drops, but that you can at the same time use for triggers?
I did get this to work somewhat with giving a hero a random item from a certain region, but that makes the item disappear from the region and don´t work at all if there is no items in the region.

I have experiemented and looked around for many hours trying to fix these things myself but to no gain sadly.
Please remember I am very much of a Noob in WC3 Editoring and therefor please be as thorough and detailed as possible when explaining.

You guys are amazing! Happy Holidays and Cheers!

P.S I love it when you guys not only make an example how it can look, but also include comments for what, how and why you have done what you did.
 
Level 9
Joined
Apr 23, 2011
Messages
527
a. Track deaths - A trigger that check if a unit owned by a player has died, then add 1 to your Deaths multiboard value for that player. For the sorting, you could probably use a loop for that, although I am not sure of the exact function (loop from 0 to HighestDeaths, rearrange players accordingly, maybe?) Haven't been in the editor in forever.

b. Checkpoints - Create a boolean (array), then a trigger that checks if a unit has entered X regions. If unit is owned by player and boolean is false (say, it's named HasEnteredRegion[1]), set boolean to True, add 100 to multiboard value for that player.

c. Item drop table - The way I did it is to create an Item-Type array, then set each array value to a specific item at map initialization. When you want to roll for an item (in another trigger), do Math - Random Number from 1 to MaxNumberOfItems, then create ItemType[randomnumber].

Hopefully, someone who can have his hands on the editor can show you in more detail.
 
Level 2
Joined
Dec 11, 2018
Messages
21
@Aeryn I would like to inform you that I applied it to my map and it works DAMN GOOD!! :D! I even added 10 more regions! So Thank you very much again!
 
Status
Not open for further replies.
Top