Phoenix Burrow

Hanz

Member
Joined
Apr 9, 2006
Messages
10
Reaction score
0
Hello. I have a unit on my map that has a normal melee attack. But I also want it to fire rockets on enemy units. I thought of having Phoenix Fire as the rocket-ability, and have a Cargo Hold for Burrows so only Peons are able to be loaded in the unit. Up to 4 Peons can be loaded and when more Peons are loaded the attack speed or the damage of the Phoenix-Fire is increased. But I dont know how to increase the Phoenix Fire effect when more units are loaded into the cargo hold. I heard there is a trigger for this. Thanks.
 

Dream_Walker

BattleForums Senior Member
Joined
Feb 20, 2005
Messages
1,924
Reaction score
0
Location
Arcanum
Make a Variable that keeps track of the # of units in the Burrow. Then, for each unit in the burrow, have a separate ability for the Phoenix Fire (4 Phoenix Fires total). Then add and remove the Phoenix Fires based on the # of units in the burrow.
 

Hanz

Member
Joined
Apr 9, 2006
Messages
10
Reaction score
0
Hm. Can you show me the exact trigger please? Thanks
 

Hanz

Member
Joined
Apr 9, 2006
Messages
10
Reaction score
0
Okey. Now I made this:

Event - A unit Is loaded into a transport

Condition - (Unit-type of (triggering unit)) Equals to Peon

Action - Add Rocket Launch to (Transporting) unit

Rocket Launch is my version of Phoenix Fire. But as I have said, I want to make 4 different versions of Rocket Launch. The first version deals 10 damage per second, and the fourth one deals 40 damage per second. How do I change the abilitis when more units are loaded? Yes I know I need a variable, but then? Corrections? Comments? Ideas?
 

NewPosts

New threads

Top