AEK
New Member
- Reaction score
- 0
Ok, for my map i have some triggers that arent working as intended:
Unit Spawning
I want 1 unit to be created per second when a wisp is in a region. But when i move the wisp to the region it creates only 1 unit and then no more will spawn unless i move the wisp away and back onto the region. This is my trigger.
Event:
- A Unit enters REGION <gen>
Condition:
- (Owner of (Triggering Unit)) Equal to Player 1 (Red)
- (Unit Type of (Triggering Unit)) Equal to Wisp
Action:
- Create 1 "UNIT" for (Owner of (Triggering Unit)) at (Center of REGION <gen>) facing default building facing degrees
- Wait 1.00 seconds
Massing
For this trigger i want my massing building to cast a spell (called mass mid) which causes all units owned by that player (excluding heroes and wisps) to move-attack to the middle of the map. But this trigger will only make one unit move. Also i do not know how to make it ignore heroes and wisps.
Event:
- A unit Starts the effect of an ability
Condition:
- (Ability being cast) Equal to ABILITY
- (Owner of (Triggering Unit)) Equal to Player 1 (Red)
Action:
- Order (Random Unit from (Units in (Playable map area) owned by Player 1 (Red))) to Attack-Move To (Center of REGION <gen>)
Thanks in advance for any help
Unit Spawning
I want 1 unit to be created per second when a wisp is in a region. But when i move the wisp to the region it creates only 1 unit and then no more will spawn unless i move the wisp away and back onto the region. This is my trigger.
Event:
- A Unit enters REGION <gen>
Condition:
- (Owner of (Triggering Unit)) Equal to Player 1 (Red)
- (Unit Type of (Triggering Unit)) Equal to Wisp
Action:
- Create 1 "UNIT" for (Owner of (Triggering Unit)) at (Center of REGION <gen>) facing default building facing degrees
- Wait 1.00 seconds
Massing
For this trigger i want my massing building to cast a spell (called mass mid) which causes all units owned by that player (excluding heroes and wisps) to move-attack to the middle of the map. But this trigger will only make one unit move. Also i do not know how to make it ignore heroes and wisps.
Event:
- A unit Starts the effect of an ability
Condition:
- (Ability being cast) Equal to ABILITY
- (Owner of (Triggering Unit)) Equal to Player 1 (Red)
Action:
- Order (Random Unit from (Units in (Playable map area) owned by Player 1 (Red))) to Attack-Move To (Center of REGION <gen>)
Thanks in advance for any help