I didn't make it!
Well, I'm working on my first project, which is a re-creation of the Orc Campaign from WC1, including making custom units (buildings and troops) for the Humans and Orcs. Of course, I'm including a few anachronisms that WC3 allows for (Heroes and Town Hall upgrades among them), but I need some help. You see, I wanted to set the Main Quest requirements of the first map so that you would need to train 4 Grunts to complete it (in addition to the Burrows and Barracks). But, I couldn't get it to function properly, so I just replaced it with a Hero survival requirement. Can anybody offer advice on that?
It's miserable, I know, but I only played W II and III :p
Create some triggers.
Trigger one Event: Map initialization Action: Quest - Create a Required quest titled Blabla with the description Create 1 orc farm, ..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp Wait 0,01 second (nit nessecary I think, but...) Game - Display to (All players) the text: Check Quests (or something?)
Trigger 2 Event: Unit - A unit Finishes construction Condition ('and' condition): (Owner of (Triggering unit)) Equal to Player 1 (Red) And (Constructed structure) Equal to (Random unit from (Units of type Orc Burrow)) Action: Quest - Display to (All players) the Quest Update message: Quest has been upda... Quest - Change the description of (Last created quest) to You succeeded at bu...
Trigger 3 and 4 Like Trigger 2
Trigger 4 extra actions: Quest - Mark (Last created quest) as Completed Wait 2 Seconds Game - Victory Player 1 (Red) (Show dialogs, Show scores)
I have to lunch now ;) When I come back, I'll look at your second question