- Joined
- Feb 9, 2008
- Messages
- 63
I'm trying to make a GUI spell based on dark portal that's supposed to follow these descriptions:
1.summon 1 random type of monster for the caster
Additional info:
Call is based on Dark Portal
Summon Type 1,2 and 3 is based on Feral Spirit
Encountered Problems:
1.How do i make this trigger shorter? (i know it sucks)
3. how do i make it MUI?
Thanks in advance
1.summon 1 random type of monster for the caster
Additional info:
Call is based on Dark Portal
Summon Type 1,2 and 3 is based on Feral Spirit
Encountered Problems:
1.How do i make this trigger shorter? (i know it sucks)
-
Melee Initialization
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Call (Archimonde)
-
Actions
- Set SummonChance[1] = Summon Type 1
- Set SummonChance[2] = Summon Type 2
- Set SummonChance[3] = Summon Type 3
- Set SummonPoint[1] = (Target point of ability being cast)
- Set SummonPoint[2] = (Position of (Triggering unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 3) Equal to 1
-
Then - Actions
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at SummonPoint[1] facing SummonPoint[2]
- Unit - Add SummonChance[1] to (Last created unit)
- Unit - Set level of SummonChance[1] for (Last created unit) to (Level of Call (Archimonde) for (Triggering unit))
- Unit - Order (Last created unit) to Orc Far Seer - Feral Spirit
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 3) Equal to 2
-
Then - Actions
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at SummonPoint[1] facing SummonPoint[2]
- Unit - Add SummonChance[2] to (Last created unit)
- Unit - Set level of SummonChance[2] for (Last created unit) to (Level of Call (Archimonde) for (Triggering unit))
- Unit - Order (Last created unit) to Orc Far Seer - Feral Spirit
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Random integer number between 1 and 3) Equal to 3
-
Then - Actions
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at SummonPoint[1] facing SummonPoint[2]
- Unit - Add SummonChance[3] to (Last created unit)
- Unit - Set level of SummonChance[3] for (Last created unit) to (Level of Call (Archimonde) for (Triggering unit))
- Unit - Order (Last created unit) to Orc Far Seer - Feral Spirit
- Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Custom script: call RemoveLocation (udg_SummonPoint[1])
- Custom script: call RemoveLocation (udg_SummonPoint[2])
-
Events
3. how do i make it MUI?
Thanks in advance
Last edited: