nabbig2
New Member
- Reaction score
- 43
When an ability, Grenade for Dummy is cast, there is another trigger that works and creates a projectile. The problem is that it is only working once, and I want it to work 3 or 4 times so that many missiles are sent.
This is the trigger:
So when the Ability is cast in this trigger, the other trigger works successfully. The problem is that when I try to have the Ability be cast more than once, it doesn't work, for some damn reason. I tried putting a wait and ordering the dummy to cast again (I did use variables), I tried ordering the dummy to cast it more than once, but I have no clue why it works only once, I also tried using Integer A. Thanks a lot, +rep.
This is the trigger:
Code:
Grenade Copy
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Grenade
Actions
Set F_Pt_Grenade_TriggerPos = (Position of (Triggering unit))
Set F_Pt_Grenade_TargetPos = (Target point of ability being cast)
Unit - Create 1 Dummy grenade 2 for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Add Grenade for dummy to (Last created unit)
Unit - Set level of Grenade for dummy for (Last created unit) to (Level of Grenade for (Triggering unit))
Unit - Order (Last created unit) to Neutral Pit Lord - Rain Of Fire (Target point of ability being cast)
So when the Ability is cast in this trigger, the other trigger works successfully. The problem is that when I try to have the Ability be cast more than once, it doesn't work, for some damn reason. I tried putting a wait and ordering the dummy to cast again (I did use variables), I tried ordering the dummy to cast it more than once, but I have no clue why it works only once, I also tried using Integer A. Thanks a lot, +rep.