The_Reaping
Member
- Reaction score
- 2
Okay so what i'm trying to do is create a impossible bosses-esque type map with the players fighting bosses that vary and range from medium - hard difficulty but i'm having some trouble with abilities being cast by the first boss. One of the triggers works once and then won't work again and the other won't work at all :/ Here are the triggers.
This is the ability that doesn't work at all.
Run Fire Wave
Fire Wave
This is the ability that works once and then doesn't work again :/
Run Flame Strike
Flame Strike
Any help is appreciated
This is the ability that doesn't work at all.
Run Fire Wave
Trigger:
- Run Fire Wave
- Events
- Time - Every (Random real number between 10.00 and 14.00) seconds of game time
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- IfritsAbilities[1] Equal to Fire Wave <gen>
- Then - Actions
- Skip remaining actions
- Else - Actions
- Trigger - Run Fire Wave <gen> (ignoring conditions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Fire Wave
Trigger:
- Fire Wave
- Events
- Conditions
- Actions
- Custom script: set udg_IfritsAbilities[1] = gg_trg_Fire_Wave
- Set Target = Hero[(Random integer number between 1 and numOfPlayers)]
- Unit - Add Fire Wave to FirelordIfrit
- For each (Integer A) from 1 to 10, do (Actions)
- Loop - Actions
- Wait 0.10 seconds
- Unit - Order FirelordIfrit to Orc Tauren Chieftain - Shockwave (Position of Target)
- Loop - Actions
- Unit - Remove Fire Wave from (Triggering unit)
- Custom script: set udg_IfritsAbilities[1] = null
- Trigger - Turn off (This trigger)
This is the ability that works once and then doesn't work again :/
Run Flame Strike
Trigger:
- Run Flame Strike
- Events
- Time - Every (Random real number between 7.00 and 9.00) seconds of game time
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- IfritsAbilities[2] Equal to Flame Strike <gen>
- Then - Actions
- Skip remaining actions
- Else - Actions
- Trigger - Run Flame Strike <gen> (ignoring conditions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
Flame Strike
Trigger:
- Flame Strike
- Events
- Conditions
- Actions
- Custom script: set udg_IfritsAbilities[2] = gg_trg_Flame_Strike
- Set Count = 0
- Unit - Set FirelordIfrit movement speed to 0.00
- For each (Integer A) from 1 to 8, do (Actions)
- Loop - Actions
- Set Count = (Count + 1)
- Unit - Create 1 Spell Dummy for (Owner of FirelordIfrit) at (Position of FirelordIfrit) facing Default building facing degrees
- Set FlameStrikeArray[Count] = (Last created unit)
- Unit - Add Flame Strike to FlameStrikeArray[Count]
- Loop - Actions
- Set Count = 0
- Set distance = 128.00
- For each (Integer A) from 1 to 8, do (Actions)
- Loop - Actions
- Set Count = (Count + 1)
- Set TempPoint[Count] = ((Position of FirelordIfrit) offset by (140.00 + distance) towards (Facing of FirelordIfrit) degrees)
- Unit - Order FlameStrikeArray[Count] to Human Blood Mage - Flame Strike TempPoint[Count]
- Set distance = (distance + 128.00)
- Loop - Actions
- Set Count = 0
- Wait 1.10 seconds
- For each (Integer A) from 1 to 8, do (Actions)
- Loop - Actions
- Set Count = (Count + 1)
- Unit - Remove Flame Strike from FlameStrikeArray[Count]
- Unit - Remove FlameStrikeArray[Count] from the game
- Custom script: call RemoveLocation(udg_TempPoint[udg_Count])
- Loop - Actions
- Custom script: set udg_IfritsAbilities[3] = null
- Unit - Set FirelordIfrit movement speed to (Default movement speed of FirelordIfrit)
- Trigger - Turn off (This trigger)
Any help is appreciated