| 06-21-2003, 06:21 PM | #1 |
if any one has played between the worlds, u might know what i am talking about. i want the hero to have an ability that when it is clicked a dialog screen pops up asking what the player wants to do. i would like the dialog window to look like this: Main menu random 1v1 arranged 1v1 now when u click on random 1v1, a message to all players will come up saying that some one is chalenging some one else. or if u click on arranged 1v1, another dialog will come up with all the names of players and there color. if u click on player 2 blue, a message will come up to all players saying that player 1 is chaleging player 2 to a duel. then maybe a dialog window will come up for player 2 asking if he will exept the challenge. if he does, a message will come up to all players saying that player 2 had exepted player 1s challeng. and now player 1s hero and playe 2s hero will be moved to a ring were they will fight. the hero that was killed will loose X amount of gold, and Y amount of time until he is back to life depending on the lvl. and the hero that lived will get gold depending on the lvl of the hero that he killed, and have the winning heros winning streak displayed on the screen to all players. if a hero that has been winning alot, is killed, the killing hero will gain extra amount of gold depending on the killed heros winning streak. i dont know what any of the gold amounts r gona be yet. |
| 06-21-2003, 09:58 PM | #2 |
here is the map between the worlds: |
| 06-21-2003, 10:19 PM | #3 |
OK...and your question is? Are you asking somebody to make this for you? We wont do that but we will tell you where to start making it yourself. First go over the tutorials on dialogs. And if you need it also the tut's on basic triggers, variables and arrays. Dont start trying to make this system right away. Its not all that complicated but it has a lot to it and could get hard to troubleshoot. You should try making some basic dialogs work first. Make sure you can identify which player is doing what in your dialog selections. Start small and work your way up. Once you learn enough to make this engine work you will be able to do all kinds of other things with dialogs so you will also benefit in the long run for your future maps. |
| 06-23-2003, 01:26 AM | #4 |
i read the tut, and i can make the dialog window work all good, but i dont know what the stuff means. the tut has no explination on what anything does. so could some one tell me what all that stuff that i did do? [edit] wait nvm, i know what im doing:gsmile: |
| 06-23-2003, 02:31 AM | #5 |
i dont know how to do the random or arranged duel system. i dont know how to go about starting the random duel when player X clicks the dialog button 'RANDOM DUEL' the next person that clicks 'RANDOM DUEL' starts to fight the first person that extended the random duel. and the arranged duel, i dont know how to do. but how bout one step at a time? forget about the aranged duel, for now. |
| 06-23-2003, 06:06 AM | #6 |
The Arranged is far to advanced for anyone to make FOR YOU. They may show you if they did it for a map of their own but I strongly doubt someone will make the system for you. For the random... When someone clicks the buttons for it, they get assaigned to a player variable. One is for the first player who joins the fight, the other is a "If PlayerVariable has a player in it(I don't know the exact action) do set variable PlayerVariable2 = Triggering player else do nothing" action... If PlayerV has a player in it and PlayerV2 has a player in it do "Your arena triggers"... Turn on trigger Arena Duel Then a second trigger, the one which we turn on. Arena Duel: E: A unit owned by player X dies (All the players you have) C: Dying unit is in "ArenaRegion" Dying unit = XX or XX or XX <--- All of your heros A: End the Arena thingys in defeat/victory for dying/killing unit/player :P Turn off - this trigger <... Don't forget that on this one Regards Dead-Inside |
| 06-23-2003, 04:09 PM | #7 |
how do i assign that unit to a variable when the player clicks 'Random Duel'? this is what i have: a dialog button is clicked for MAIN_MENU IF clicked dialog button is equal to MENU_RANDOM_DUEL_BTN[0] then do... and this is were i stoped, this is were i assign the player's hero to a variable right? |
| 06-23-2003, 04:34 PM | #8 |
I already told you... Use Set Variable Set PlayerValvue = Whoevertheactionisfor Since you can't have the "Triggering player" for buttons on dialogs... Then another to check if the first one is filled... If it is, set the second one and then make another exactly the same but it runs another trigger... Which will be your whole arena thingy... Regards Dead-Inside |
| 06-25-2003, 02:00 AM | #9 |
i cant find a trigger that will add the player that clicked 'Random Duel' button to the player variable. |
| 06-25-2003, 02:22 AM | #10 |
Guest | Skyline, this is exactly why I have ignored you. You double post, make multiple threads for the same problem, and double post. ^Look above, two examples^ Anyway, its not really that hard, its just basicly lots of different triggers fused together. |
| 06-25-2003, 02:28 AM | #11 |
i dont see a double post. i dont see another thread that im asking for help on this trigger. and obiously it is hard for me cause im asking for help. and i think that it would be nice if i could get some help instead of people like u saying stuff that isnt helping. i dont want to start a flame war im just saying... |
| 06-25-2003, 08:34 AM | #12 |
Listen, 1, there are tutorials for dialogs. And 2, just because I'm so nice I'll spare some of your (not my) time. When you create a dialog for the player, you need one seperate for eatch player, you also need a seperate dialog for eatch player. This can be solved by looping in the beginning, but never mind that, you'll just have to make 1dialog for player 2, 2dialog for player 2 and so on. Then make a Dialog button array and name it whatever. Now, make a button for player 1's dialog (when he is to be viewing it), and assaign Dialogbuttonarray[1] to it. Then for player 2's dialog, assaign Dialogbuttonarray[2], until you're done. "If dialog button is clicked for 1Dialog" "Button clicked = Dialogbuttonarray[1]" Do actions. |
| 06-25-2003, 06:13 PM | #13 |
i did read the dialog tutorial already. thx. i just havnt made dialogs befor untill now. |
| 06-25-2003, 07:52 PM | #14 |
I think for the ability makes dialog show you can use a dummy ability and put for event: (Unit) is issued an order with no target Condition: Issued order = to order(ORDER) For a list of orders, if you forum search for order, you would find a big list someone posted before. Action: Show Dialog for owner of triggering unit. Something like that would work, I think. |
| 06-25-2003, 07:59 PM | #15 |
thx pvcx, but i think that im gona use esc button to bring up the dialog box. |
