- Joined
- Mar 9, 2012
- Messages
- 1,557
1. Player researches a tech called Skeletal Mastery and gets one Skeleton Warrior for free whenever one is trained.
The question i have is how would the trigger be turned on for only the researching player and not globally ?
2. setting a value in
Combat - Minimum Attack Range
seems to be effecting both attacks of an unit.
I want the unit to throw fireballs(it's attack1) at 550-250 distance and engage in melee(it's attack2) when target comes nearer than 250 if target is an ground unit.
Is there any way to set min attack distance seperately for each attack ?
-------------------------------------
3. Ive given an unit 'Eat Tree' ability and Harvest (Goblin Shredder), whenever i want it to gather lumber it goes up and eats the tree instead of gathering wood.
How can i prevent this from happening ? It has to use Harvest by default and Eat Tree only when ordered to.
The question i have is how would the trigger be turned on for only the researching player and not globally ?
-
upgrade checker
-
Events
- Unit - A unit Finishes research
-
Conditions
- (Researched tech-type) Equal to Skeletal Mastery
-
Actions
- Trigger - Turn on free skeleton <gen>
-
Events
-
free skeleton
-
Events
- Unit - A unit Finishes training a unit
-
Conditions
- (Unit-type of (Trained unit)) Equal to Skeleton Warrior
-
Actions
- Unit - Create 1 Skeleton Warrior for (Triggering player) at (Position of (Trained unit)) facing (Rally-Point of (Triggering unit) as a point)
- Unit - Order (Last created unit) to Move To (Rally-Point of (Triggering unit) as a point)
-
Events
2. setting a value in
Combat - Minimum Attack Range
seems to be effecting both attacks of an unit.
I want the unit to throw fireballs(it's attack1) at 550-250 distance and engage in melee(it's attack2) when target comes nearer than 250 if target is an ground unit.
Is there any way to set min attack distance seperately for each attack ?
-------------------------------------
3. Ive given an unit 'Eat Tree' ability and Harvest (Goblin Shredder), whenever i want it to gather lumber it goes up and eats the tree instead of gathering wood.
How can i prevent this from happening ? It has to use Harvest by default and Eat Tree only when ordered to.