- Joined
- Apr 23, 2011
- Messages
- 460
This is one of my Boss triggers from my map in development, alot of the wave triggers look somewhat like this, but this one is a little different and I just need to know if this specific one is correct.
-
Boss Wave 5
-
Events
-
Time - Every 0.10 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
wave Equal to ((Number of players in (All players controlled by a User player)) x 10)
-
-
Then - Actions
-
Trigger - Turn off (This trigger)
-
Wait 5.00 seconds
-
Unit Group - Pick every unit in (Units in (Playable map area) matching (((Picked unit) is A Hero) Equal to True)) and do (Actions)
-
Loop - Actions
-
Unit - Move (Picked unit) instantly to (Center of Boss Fight Summon <gen>)
-
-
-
Game - Display to (All players) the text: Boss Wave 5: Grubmu...
-
Set wave = 0
-
Set boss = 0
-
Set tempLoc = (Center of Wave 1 through 15 <gen>)
-
Unit - Create 1 Grubmuncher for Neutral Hostile at tempLoc facing Default building facing degrees
-
Set Boss_unit[1] = (Last created unit)
-
Unit Group - Pick every unit in (Units owned by Neutral Hostile) and do (Unit Group - Add (Picked unit) to boss_current)
-
Cinematic - Turn cinematic mode On for (All players)
-
Cinematic - Send transmission to (All players) from Boss_unit[1] named Grubmuncher: Play No sound and display Grubmuncher work fo.... Modify duration: Add 0.00 seconds and Wait
-
Cinematic - Turn cinematic mode Off for (All players)
-
Unit - Create (players x 10) Dune Worm for Neutral Passive at (Center of Special <gen>) facing Default building facing degrees
-
Unit Group - Add all units of (Last created unit group) to dummy_worms
-
Trigger - Turn on Grubmuncher Munch <gen>
-
Trigger - Turn on Grubmuncher Enrage <gen>
-
Trigger - Run Grubmunch HP <gen> (checking conditions)
-
Trigger - Turn on Wave 5 10 15 Block <gen>
-
Trigger - Turn off Shop Safety <gen>
-
Trigger - Turn on Wave 6 <gen>
-
Custom script: call RemoveLocation(udg_tempLoc)
-
-
Else - Actions
-
-
-