- Joined
- Sep 22, 2011
- Messages
- 70
Simple version: I have several triggers that turn on/off during one of my bosses fights. I would like to:
1. Turn the triggers that need to be turned on/off to reset his fight. (To avoid him spamming aoe's and abilities that are triggered when everyone around him is already dead)
2. Reset his health to 100%(To avoid people just rezzing and running back to him and eventually soloing him)
3. Play a game-wide text to all players to let them know of their comrades failure at life.
this is my trigger:
WHAT IS REQUIRED:
1. Event is based off a unit Inside Rayvan's Platform that IS NOT OWNED BY NEUTRAL HOSTILE dies
2. The trigger will only run if there are NO other player-heroes in the room (IE the boss won and everyones dead)
3. The trigger needs to turn on/off the triggers listen above accordingly, and reset his health to 100% max health.
I need help with this because i cant figure it out at all, thanks. Tell me what I did wrong, and if wanted, post an example or fixed trigger for me. Thanks.
1. Turn the triggers that need to be turned on/off to reset his fight. (To avoid him spamming aoe's and abilities that are triggered when everyone around him is already dead)
2. Reset his health to 100%(To avoid people just rezzing and running back to him and eventually soloing him)
3. Play a game-wide text to all players to let them know of their comrades failure at life.
this is my trigger:
-
Reset All
-
Events
- Unit - A unit Dies
-
Conditions
- (Number of units in Random_Unit_Rayvan) Greater than or equal to 1
- ((Triggering unit) is in Random_Unit_Rayvan) Equal to True
- (Number of units in (Units in Rayvans Platform <gen> owned by Player 1 (Red))) Equal to 0
-
Actions
- Trigger - Turn off Fire Nova Cast <gen>
- Trigger - Turn off Fireball Cast <gen>
- Trigger - Turn off Soul Burn Cast <gen>
- Trigger - Turn off Volcano Cast <gen>
- Trigger - Turn on Fire Nova Start <gen>
- Trigger - Turn on Fireball Start <gen>
- Trigger - Turn on Soul Burn Start <gen>
- Trigger - Turn on Volcano Start <gen>
- Trigger - Turn off Currently Fighting_kick <gen>
- Custom script: call DestroyGroup (udg_Random_Unit_Rayvan)
- Game - Display to (All players) the text: Fire Lord Rayvan: N...
- Unit - Set life of Rayvan 0034 <gen> to 100.00%
-
Events
WHAT IS REQUIRED:
1. Event is based off a unit Inside Rayvan's Platform that IS NOT OWNED BY NEUTRAL HOSTILE dies
2. The trigger will only run if there are NO other player-heroes in the room (IE the boss won and everyones dead)
3. The trigger needs to turn on/off the triggers listen above accordingly, and reset his health to 100% max health.
I need help with this because i cant figure it out at all, thanks. Tell me what I did wrong, and if wanted, post an example or fixed trigger for me. Thanks.