- Joined
- Nov 6, 2011
- Messages
- 44
I have an ability which is supposed to create a portal at a targeted area, which then spawns Fel Beasts on Level 1, Fel Stalkers on Level 2 and Fel Ravagers on Level 3(The portal is just for decoration actually). The problem is.. the spell just make Fel beasts(level 1). I've checked much of the trigger.. but can't find the problem. Help would be appreciated
DarkPortalPos = Point where the ability is cast
DarkPortalCaster = Caster of the ability
DarkPortalLevel = Level of the ability
DarkPortalPos = Point where the ability is cast
DarkPortalCaster = Caster of the ability
DarkPortalLevel = Level of the ability
-
Dark Portal
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Nether Portal (Archimonde)
-
Actions
- Set DarkPortalCaster = (Casting unit)
- Set DarkPortalLevel = (Level of Nether Portal (Archimonde) for (Casting unit))
- Set DarkPortalPos = (Target point of ability being cast)
- Wait 0.50 seconds
- Unit - Create 1 Nether Portal (Level 1) for (Owner of (Casting unit)) at DarkPortalPos facing Default building facing degrees
- Unit - Add a 11.00 second Generic expiration timer to (Last created unit)
- Trigger - Turn on Dark Portal Spawn <gen>
- Wait 11.00 seconds
- Trigger - Turn off Dark Portal Spawn <gen>
-
Events
-
Dark Portal Spawn
-
Events
- Time - Every 2.00 seconds of game time
- Conditions
-
Actions
- If (DarkPortalLevel Equal to 1) then do (Unit - Create 1 Fel Beast for (Owner of DarkPortalCaster) at DarkPortalPos facing Default building facing degrees) else do (Do nothing)
- If (DarkPortalLevel Equal to 2) then do (Unit - Create 1 Fel Stalker for (Owner of DarkPortalCaster) at DarkPortalPos facing Default building facing degrees) else do (Do nothing)
- If (DarkPortalLevel Equal to 3) then do (Unit - Create 1 Fel Ravager for (Owner of DarkPortalCaster) at DarkPortalPos facing Default building facing degrees) else do (Do nothing)
- Unit - Add a 20.00 second Generic expiration timer to (Last created unit)
- Special Effect - Create a special effect at DarkPortalPos using Abilities\Spells\Undead\Darksummoning\DarkSummonTarget.mdl
- Wait 1.00 seconds
- Special Effect - Destroy (Last created special effect)
-
Events