| 06-16-2004, 10:05 PM | #1 |
Can anyone help with the triggers for A duel arena for an aos. basicly i want it to pick 2 random players that are users and the timer expires in 5 minutes and make every one look at the arena and move all players around the arena and unpause the 2 players fighting in the arena where as all the rest of the units are paused THANKS FOR ANY HELP AT ALL! :D P.S You will get credit in My Aos Dark castle map Look Down the Bottum of This Thread for more info |
| 06-17-2004, 09:15 AM | #2 | |
Quote:
Uhm, do you want help with the trigger for this or with the design of the battle arena? |
| 06-17-2004, 09:53 AM | #3 |
Maybe a better description...?! |
| 06-17-2004, 11:23 AM | #4 |
punctuation please? it makes me feel like i ran out of breath by just reading your post o_O |
| 06-17-2004, 12:31 PM | #5 |
It's just another arena map with the same questions as before. This has to be the tenth+ thread I've seen in the past couple months with someone asking how to make an arena. |
| 06-17-2004, 04:49 PM | #6 |
This is What i looked at: Start Duel: Code:
Events
Time - DuelTimer expires
Actions
Game - Display to (All players) the text: Duel Time!
Unit - Pause all units
Set bPasued = True
Set bDuel = True
Wait 3.00 seconds
Player Group - Pick every player in (All players) and do (Camera - Pan camera for (Picked player) to (Center of DuelArena <gen>) over 1.00 seconds)
Unit - Move Uther 0024 <gen> instantly to (Random point in UtherDuel <gen>)
Unit Group - Pick every unit in Crowd and do (Unit - Move (Picked unit) instantly to (Random point in CrowdDuel <gen>), facing (Center of DuelArena <gen>))
Unit Group - Pick every unit in Crowd and do (Unit - Unpause (Picked unit))
For each (Integer A) from 1 to 12, do (Set HeroSavePoint[(Integer A)] = (Position of Heroes[(Integer A)]))
For each (Integer A) from 1 to 12, do (Set HeroSaveDirection[(Integer A)] = (Facing of Heroes[(Integer A)]))
For each (Integer A) from 1 to 12, do (Unit - Move Heroes[(Integer A)] instantly to (Center of HeroDuelSpots[(Integer A)]))
For each (Integer A) from 1 to 12, do (Unit - Make Heroes[(Integer A)] face (Center of DuelArena <gen>) over 0.00 seconds)
For each (Integer A) from 1 to 12, do (Unit - Make Heroes[(Integer A)] Invulnerable)
Set TempMaxKill = 0
For each (Integer A) from 1 to 6, do (If ((Kills[(Integer A)] Greater than TempMaxKill) and (((Player((Integer A))) slot status) Equal to Is playing)) then do (Set TempMaxKill = Kills[(Integer A)]) else do (Do nothing))
For each (Integer A) from 1 to 6, do (If ((Kills[(Integer A)] Equal to TempMaxKill) and (((Player((Integer A))) slot status) Equal to Is playing)) then do (Set Team1Leader = (Integer A)) else do (Do nothing))
Set Team1LeaderHero = Heroes[Team1Leader]
Unit - Move Team1LeaderHero instantly to (Center of DuelFighter1 <gen>)
Unit - Set life of Team1LeaderHero to 100.00%
Unit - Set mana of Team1LeaderHero to 100.00%
Unit - Make Team1LeaderHero Vulnerable
Set TempMaxKill = 0
For each (Integer A) from 7 to 12, do (If ((Kills[(Integer A)] Greater than TempMaxKill) and (((Player((Integer A))) slot status) Equal to Is playing)) then do (Set TempMaxKill = Kills[(Integer A)]) else do (Do nothing))
For each (Integer A) from 7 to 12, do (If ((Kills[(Integer A)] Equal to TempMaxKill) and (((Player((Integer A))) slot status) Equal to Is playing)) then do (Set Team2Leader = (Integer A)) else do (Do nothing))
Set Team2LeaderHero = Heroes[Team2Leader]
Unit - Move Team2LeaderHero instantly to (Center of DuelFighter2 <gen>)
Unit - Set life of Team2LeaderHero to 100.00%
Unit - Set mana of Team2LeaderHero to 100.00%
Unit - Make Team2LeaderHero Vulnerable
Game - Display to (All players) the text: ((Name of (Player(Team1Leader))) + ( Vs + (Name of (Player(Team2Leader)))))
Wait 5.00 seconds
Game - Display to (All players) the text: 3!
Wait 1.00 seconds
Game - Display to (All players) the text: 2!
Wait 1.00 seconds
Game - Display to (All players) the text: 1!
Wait 1.00 seconds
Game - Display to (All players) the text: Go!
Unit - Unpause Team1LeaderHero
Unit - Unpause Team2LeaderHeroCode:
Actions
Unit - Pause all units
Unit Group - Pick every unit in Crowd and do (Unit - Move (Picked unit) instantly to (Random point in Crowd <gen>), facing (Center of Arena <gen>))
Unit - Move Uther 0024 <gen> instantly to (Center of UtherHome <gen>)
For each (Integer A) from 1 to 12, do (Unit - Move Heroes[(Integer A)] instantly to HeroSavePoint[(Integer A)], facing HeroSaveDirection[(Integer A)] degrees)
For each (Integer A) from 1 to 12, do (Unit - Make Heroes[(Integer A)] Vulnerable)
For each (Integer A) from 1 to 12, do (Camera - Pan camera for (Player((Integer A))) to HeroSavePoint[(Integer A)] over 1.00 seconds)
Set Team1Leader = 14
Set Team2Leader = 14
Set Team1LeaderHero = No unit
Set Team2LeaderHero = No unit
Wait 5.00 seconds
Set bDuel = False
Set bPasued = False
Unit - Unpause all units
Countdown Timer - Start DuelTimer as a One-shot timer that will expire in 240.00 secondsCode:
Actions
Set HeroDuelSpots[1] = DP1 <gen>
Set HeroDuelSpots[2] = DP2 <gen>
Set HeroDuelSpots[3] = DP3 <gen>
Set HeroDuelSpots[4] = DP4 <gen>
Set HeroDuelSpots[5] = DP5 <gen>
Set HeroDuelSpots[6] = DP6 <gen>
Set HeroDuelSpots[7] = DP7 <gen>
Set HeroDuelSpots[8] = DP8 <gen>
Set HeroDuelSpots[9] = DP9 <gen>
Set HeroDuelSpots[10] = DP10 <gen>
Set HeroDuelSpots[11] = DP11 <gen>
Set HeroDuelSpots[12] = DP12 <gen>
Countdown Timer - Start DuelTimer as a Repeating timer that will expire in 360.00 seconds
Countdown Timer - Create a timer window for DuelTimer with title Next Duel
Set DuelTimer = (Last started timer)
Countdown Timer - Show DuelTimerWindowHope thats more Clear and thank you for any help |
| 06-19-2004, 05:27 PM | #7 |
I need Help!!! |
