TheAbyss
New Member
- Reaction score
- 2
hi I've been working on a map for a long time now and I have a trigger that has been working up until I created a hero with a modified Black Arrow ability. Here's the trigger:
It's function is to respawn any creep that dies in the Alleyway region in an amount of time that depends on the unit's level and it's been working perfectly until i kill them with the Black Arrow ability activated. It seems if they die by Black Arrow, they do not respawn. I have one of these triggers for each of the 11 creep regions I have. Any idea why this is happening, and how I can fix it? The ability is called Dark bolts, but I'm going to be putting in the original Black Arrow ability soon as well as the Charm ability. And while I'm here, I might as well ask another question: how can i make starfall stun and drop rocks instead of "stars"? Thanks in advance.
Trigger:
- Events
- Unit - A unit Dies
- Conditions
- (Alleyway <gen> contains (Position of (Triggering unit))) Equal to True
- (Owner of (Triggering unit)) Equal to Neutral Hostile
- Actions
- Wait (7.50 x (Real((Level of (Triggering unit))))) seconds
- Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at (Random point in Alleyway <gen>) facing Default building facing degrees
It's function is to respawn any creep that dies in the Alleyway region in an amount of time that depends on the unit's level and it's been working perfectly until i kill them with the Black Arrow ability activated. It seems if they die by Black Arrow, they do not respawn. I have one of these triggers for each of the 11 creep regions I have. Any idea why this is happening, and how I can fix it? The ability is called Dark bolts, but I'm going to be putting in the original Black Arrow ability soon as well as the Charm ability. And while I'm here, I might as well ask another question: how can i make starfall stun and drop rocks instead of "stars"? Thanks in advance.