- Joined
- Mar 5, 2009
- Messages
- 7
I am working on a mini game. I have a murloc that creates an orc burrow"FireTower". I made the building red and it is supposed to be a fire type structure. The affect I was going for was to make some fire cinematic effect appear on the building when it was created. What I did was give a unit the model of the orb of fire, the ability to fly, and no movement speed. When the fire tower is created, the unit with the fire orb model is created directly over the structure creating a fire orb to rotate over the building.
Events
Unit - A unit owned by Player 1 (Red) Finishes construction
Conditions
(Unit-type of (Triggering unit)) Equal to Fire Tower
Actions
Unit - Create 1 firefly for Neutral Passive at (Position of (Constructed structure)) facing (Position of (Triggering unit))
Firefly is the unit with the fire orb model.
So this works but what I need to ask to find out how I can do is...
I want the newly created neutral passive firefly to die or dissapear when the firetower it hovers over is destroyed. Right now when one is destroyed, the firefly remains. Any ideas???
Events
Unit - A unit owned by Player 1 (Red) Finishes construction
Conditions
(Unit-type of (Triggering unit)) Equal to Fire Tower
Actions
Unit - Create 1 firefly for Neutral Passive at (Position of (Constructed structure)) facing (Position of (Triggering unit))
Firefly is the unit with the fire orb model.
So this works but what I need to ask to find out how I can do is...
I want the newly created neutral passive firefly to die or dissapear when the firetower it hovers over is destroyed. Right now when one is destroyed, the firefly remains. Any ideas???