Hi, I'm working on a little map, where I have several types of builders.
And alot of different resources (crops, rocks, trees, fishes etc.)
and I want only a specific builder to be able to harvest a specific type of resource
Farmer - Crops
Miner - rocks
Lumberjack - Trees
Fisherman - Fish
etc..
I have a test trigger that didn't work, so could one of take a look at it for me?
And alot of different resources (crops, rocks, trees, fishes etc.)
and I want only a specific builder to be able to harvest a specific type of resource
Farmer - Crops
Miner - rocks
Lumberjack - Trees
Fisherman - Fish
etc..
I have a test trigger that didn't work, so could one of take a look at it for me?
-
Harvesting System 2
-
Events
-
Unit - A unit Begins channeling an ability
-
-
Conditions
-
(Ability being cast) Equal to Harvest (Gold and Lumber)
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Destructible-type of (Target destructible of ability being cast)) Equal to Iron Deposit
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Casting unit)) Equal to Man
-
-
Then - Actions
-
Do nothing
-
Game - Display to (All players) the text: If you used MAN, so...
-
-
Else - Actions
-
Unit - Order (Casting unit) to Stop
-
Game - Display to (All players) the text: Not possible
-
-
-
-
Else - Actions
-
-
-