when the spell is clicked, there are 4 possible summoned unit. the trigger i use is as follow:
Spirit Summon
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Spirit Summon ORI
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 4) Equal to 1
Then - Actions
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Summon to (Last created unit)
Unit - Order (Last created unit) to Orc Far Seer - Feral Spirit
Else - Actions
1st problem because i added the 4 sec generic expiration timer, the summoned unit dispersed out after a few sec. i know it can be solved by making the expiration time = summoned unit time, but i want to know if theres a better way
2nd problem= like stated there are 4 possible summoned unit, but from time to time my unit will just do the skill without running the trigger. suggestion?
Spirit Summon
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Spirit Summon ORI
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 4) Equal to 1
Then - Actions
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
Unit - Add Fire Summon to (Last created unit)
Unit - Order (Last created unit) to Orc Far Seer - Feral Spirit
Else - Actions
1st problem because i added the 4 sec generic expiration timer, the summoned unit dispersed out after a few sec. i know it can be solved by making the expiration time = summoned unit time, but i want to know if theres a better way
2nd problem= like stated there are 4 possible summoned unit, but from time to time my unit will just do the skill without running the trigger. suggestion?