1Shredder1
New Member
- Reaction score
- 1
So I'm working on a map where you need to build six orc burrows and a barracks to win the game. So far, I have this:
But, in my tests, it doesn't work. Help would be appreciated.
Code:
Main Quest
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Quest - Create a Required quest titled Establish a Base with the description Build six burrows a..., using icon path ReplaceableTextures\CommandButtons\BTNBattleStations.blp
Quest - Enable (Last created quest)
Quest - Mark (Last created quest) as Discovered
Quest - Create a quest requirement for (Last created quest) with the description Build six burrows a...
Quest - Display to (All players) the Quest Update message: Build six burrows a...
FarmsBarracks
Events
Unit - A unit owned by Player 1 (Red) Finishes construction
Conditions
(Unit-type of (Constructed structure)) Equal to Orc Burrow
Burrows Equal to (Burrows + 1)
Actions
If (Burrows Equal to 6) then do (Game - Victory Player 1 (Red) (Skip dialogs, Show scores)) else do (Do nothing)
But, in my tests, it doesn't work. Help would be appreciated.