| 06-19-2006, 04:17 AM | #1 |
Ok my map has a pick-a-race system that goes like this: -Game starts, your camera is locked to the little area that you pick your race from. A 2 minute timer starts and a message explaining things shows up. -there are 8 wisps, you pick yours and move it to the unit representng each race. -Your camera is then reset to the game's and it's focuses on your Start location. -If you don't choose your race in the 2 minutes provided then: This is what I'm asking. Are these ideas good? -Your wisp is killed, your game ends (its a Bnet game BTW) -A random race is selected (Don't know how to do that) I'm thinking that the random race is best but I haven't the slightest idea how to do that. That's why I wanted to just kill the wisp. |
| 06-19-2006, 04:21 AM | #2 |
Well random would be neat, especially if you'd allow players to randomise their race before the 2 min are gone. |
| 06-19-2006, 04:39 AM | #3 |
true... But I don't know how to do that. I should put a random in there. Would you mind helping me with the trigger? It can be either GUI or JASS, but I prefer GUI becuase then I can make it JASS and understand the connections between them. |
| 06-19-2006, 04:46 AM | #4 |
Trigger: Progress Bar
![]() Conditions
![]() Actions
![]() ![]() Set random = (Random integer number between 1 and 4)
Quick and dirty in 5minutes. Pretty simplistic... |
| 06-19-2006, 04:49 AM | #5 |
You know, you don't even need a wisp for this whole thing to work. Just use a trigger to check whenever a unit is selected, and establish that unit as the chosen race. There are some interesting variations of this concept that let you receive info on a race before actually choosing it - for instance, clicking on the unit corresponding to a race will give info on that race and store the unit's ID in a global variable. You could then click on a central unit, unrelated to any race, that acted as an "ok" button. I've even made an UI that uses "slider bars" based on this concept, where you have a row of watchtowers, and clicking on a watchtower will cause all watchtowers up to that point to turn red. This is really useful when making difficulty bars, and for big menus where a dialog just doesn't work quickly enough. |
| 06-19-2006, 05:16 AM | #6 |
I think I'm gonna use harshateja's trigger, but thx anvil, I was thinking of doing a selection system but i had no clue how. Thx again Harshateja! : ) +rep |
