I want to add a duel system to my game i am creating, that will choose the person with the highest kills on each side. What i want it to do in these steps.
I want this duel system to be in a loop every 4 minutes or something, at least timed
1) Pause the game ( the creeps runing around to kill eachother)
2) Choose the 2 guys with the highest kills on each side
3) Transport the duelers to the arena and the spectators to a seperate close platform near the arena.
4) after duels done transport everyone back to their spots and then resume game.
Basically the version off of heaven vs hell, i'm not that great off of jass triggers and gui systems so if anyone wants to give me some pointers, thanks ^ ^.
Creating a Hero Pick Duel system, Help?
Moderator: Cheaters
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
Re: Creating a Hero Pick Duel system, Help?
gui is easier for you, and easier for me from scratch.Arabidnun wrote:I want to add a duel system to my game i am creating, that will choose the person with the highest kills on each side. What i want it to do in these steps.
I want this duel system to be in a loop every 4 minutes or something, at least timed
1) Pause the game ( the creeps runing around to kill eachother)
2) Choose the 2 guys with the highest kills on each side
3) Transport the duelers to the arena and the spectators to a seperate close platform near the arena.
4) after duels done transport everyone back to their spots and then resume game.
Basically the version off of heaven vs hell, i'm not that great off of jass triggers and gui systems so if anyone wants to give me some pointers, thanks ^ ^.
Jass is easier for you if you are good at war3map.j type insertions only, other then that they probably will break your map.
In that case, ill explain how to do the following in gui:
1. unit -> unit group -> pick every unit in units(units in region, playable map area)--> and do: Unit -> pause unit(picked unit)
2. requires ingame variable calculation + a bit of work, I'll explain it if you want it, and still in gui, just respond and wait.
3. unit, move unit(random unit of type hero owned by player) instantly to region (make a region and then make that the region of course).
4. see above
5. ask
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Creating a Hero Pick Duel system, Help?
Thanks Xantan, hey btw any chance u can help me with my duel timer countdown timer, i can get it to display
-
- Tyrannical Drama Queen
- Posts: 4430
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Creating a Hero Pick Duel system, Help?
Create a timer window for your timer.Arabidnun wrote:Thanks Xantan, hey btw any chance u can help me with my duel timer countdown timer, i can get it to display
What kind of arena is this? Angel Arena style, meaing like, 6v6?
If so do something like this -
Spoiler:
Hey Xantan, it's your lucky day, you can check this.

-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Creating a Hero Pick Duel system, Help?
Thanks 4 The help Xantan, its a DOTA type map with a duel system lol.
-
- Tyrannical Drama Queen
- Posts: 4430
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Creating a Hero Pick Duel system, Help?
Oh, than I haven't a clue.Arabidnun wrote:Thanks 4 The help Xantan, its a DOTA type map with a duel system lol.
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Creating a Hero Pick Duel system, Help?
For each (Integer A) from 1 to 12, do (Set HeroSavePoints[(Integer A)] = (Position of Heroes[(Integer A)])) (Create an variable point array, with size 1)
For each (Integer A) from 1 to 12, do (Set HeroSaveDirection[(Integer A)] = (Facing of Heroes[(Integer A)])) (Create an real array, with size 1)
For each (Integer A) from 1 to 12, do (Unit - Move Heroes[(Integer A)] instantly to (Center of HeroDuelSpots[(Integer A)])) (Create a region variable and check mark array, and keep the red none there)
For each (Integer A) from 1 to 12, do (Unit - Make Heroes[(Integer A)] face (Center of (region you created for dueling)) over 0.10 seconds)
For each (Integer A) from 1 to 12, do (Unit - Make Heroes[(Integer A)] Invulnerable)
Set TempMaxKill = 0 (create an integer and it's initial value is 0, and it's not an array)
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))(Create an integer and make it an array and make it size 1)
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))(Create an unit variable)
Set Team1LeaderHero = Heroes[Team1Leader](Create an integer with initial value of 14)
Hey mate i cant get the end of the integers...like the (unit-make heros interger A invulerable, i cant find those, also the (Unit - Make Heroes[(Integer A)] face (Center of (region you created for dueling)) over 0.10 seconds),and Set HeroSaveDirection[(Integer A)] = (Facing of Heroes[(Integer A)])) (Create an real array, with size 1)
any other advice you can get me to find it?Selvanus i'm sorry i mixed up your name and Xantan, i appreciate your help really
Any chance you can AIM me at Scatterdangel and help me out?
For each (Integer A) from 1 to 12, do (Set HeroSaveDirection[(Integer A)] = (Facing of Heroes[(Integer A)])) (Create an real array, with size 1)
For each (Integer A) from 1 to 12, do (Unit - Move Heroes[(Integer A)] instantly to (Center of HeroDuelSpots[(Integer A)])) (Create a region variable and check mark array, and keep the red none there)
For each (Integer A) from 1 to 12, do (Unit - Make Heroes[(Integer A)] face (Center of (region you created for dueling)) over 0.10 seconds)
For each (Integer A) from 1 to 12, do (Unit - Make Heroes[(Integer A)] Invulnerable)
Set TempMaxKill = 0 (create an integer and it's initial value is 0, and it's not an array)
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))(Create an integer and make it an array and make it size 1)
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))(Create an unit variable)
Set Team1LeaderHero = Heroes[Team1Leader](Create an integer with initial value of 14)
Hey mate i cant get the end of the integers...like the (unit-make heros interger A invulerable, i cant find those, also the (Unit - Make Heroes[(Integer A)] face (Center of (region you created for dueling)) over 0.10 seconds),and Set HeroSaveDirection[(Integer A)] = (Facing of Heroes[(Integer A)])) (Create an real array, with size 1)
any other advice you can get me to find it?Selvanus i'm sorry i mixed up your name and Xantan, i appreciate your help really
Any chance you can AIM me at Scatterdangel and help me out?
-
- Tyrannical Drama Queen
- Posts: 4430
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Creating a Hero Pick Duel system, Help?
Arabidnun wrote:For each (Integer A) from 1 to 12, do (Set HeroSavePoints[(Integer A)] = (Position of Heroes[(Integer A)])) (Create an variable point array, with size 1)
For each (Integer A) from 1 to 12, do (Set HeroSaveDirection[(Integer A)] = (Facing of Heroes[(Integer A)])) (Create an real array, with size 1)
For each (Integer A) from 1 to 12, do (Unit - Move Heroes[(Integer A)] instantly to (Center of HeroDuelSpots[(Integer A)])) (Create a region variable and check mark array, and keep the red none there)
For each (Integer A) from 1 to 12, do (Unit - Make Heroes[(Integer A)] face (Center of (region you created for dueling)) over 0.10 seconds)
For each (Integer A) from 1 to 12, do (Unit - Make Heroes[(Integer A)] Invulnerable)
Set TempMaxKill = 0 (create an integer and it's initial value is 0, and it's not an array)
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))(Create an integer and make it an array and make it size 1)
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))(Create an unit variable)
Set Team1LeaderHero = Heroes[Team1Leader](Create an integer with initial value of 14)
Hey mate i cant get the end of the integers...like the (unit-make heros interger A invulerable, i cant find those, also the (Unit - Make Heroes[(Integer A)] face (Center of (region you created for dueling)) over 0.10 seconds),and Set HeroSaveDirection[(Integer A)] = (Facing of Heroes[(Integer A)])) (Create an real array, with size 1)
any other advice you can get me to find it?Selvanus i'm sorry i mixed up your name and Xantan, i appreciate your help really
Any chance you can AIM me at Scatterdangel and help me out?
You lie! I'm never appreciated! Anyways...What can't you what? And I don't have aim and everytime I download it I get adware and spyware and malware.
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Creating a Hero Pick Duel system, Help?
(Set HeroSavePoints[(Integer A)] = (Position of Heroes[(Integer A)])) (Create an variable point array, with size 1)
I can get to the set variable(herosavepoints(interger a)) = then this is where i get stuck
i cant find the thing for position of heros
same with the facing hero
Then....
(Unit - Move Heroes[(Integer A)] instantly to (Center of HeroDuelSpots[(Integer A)])) (Create a region variable and check mark array, and keep the red none there)
unit- move heros i cant find that in units for action...idk i just dont see it any chance you can help or even make it and add on an attachment?
I can get to the set variable(herosavepoints(interger a)) = then this is where i get stuck
i cant find the thing for position of heros
same with the facing hero
Then....
(Unit - Move Heroes[(Integer A)] instantly to (Center of HeroDuelSpots[(Integer A)])) (Create a region variable and check mark array, and keep the red none there)
unit- move heros i cant find that in units for action...idk i just dont see it any chance you can help or even make it and add on an attachment?
-
- Honorary wc3edit.net Traitor
- Posts: 468
- Joined: December 10th, 2007, 10:50 pm
- Title: The Professional
- Location: USA
Re: Creating a Hero Pick Duel system, Help?
Get Trillian. It's a bundle of messengers put together in 1 slick interface.Selvanus wrote:Arabidnun wrote: I don't have aim and everytime I download it I get adware and spyware and malware.
"Trillian™ is a fully featured, stand-alone, skinnable chat client that supports AIM, ICQ, MSN, Yahoo Messenger, and IRC. It provides capabilities not possible with original network clients, while supporting standard features such as audio chat, file transfers, group chats, chat rooms, buddy icons, multiple simultaneous connections to the same network, server-side contact importing, typing notification, direct connection (AIM), proxy support, encrypted messaging (AIM/ICQ), SMS support, and privacy settings.
Trillian provides unique functionality such as contact message history, a powerful skinning language, tabbed messaging, global status changes (set all networks away at once), Instant Lookup (automatic Wikipedia integration), contact alerts, an advanced automation system to trigger events based on anything happening in the client, docking, hundreds of emoticons, emotisounds, shell extensions for file transfers, and systray notifications."
Here's the link to download it. http://www.download.com/Trillian/3000-2 ... tag=button
I've had no trouble out of it and like it much better than AIM to be honest. It's better to control 1 messenger than have to manage 2 or more at the same time. Hope that helps you.
Do you support Durchdringen? If so, add the spoiler to your sig. Durch cares for you, so show your support for Durch!
Spoiler: