Well, that should be something simple. Your triggers should be divided in 2 groups - button clicking and banning.
1) For votes, you should use an Integer Array (Var of type Integer, Array with size of max human players). The clicking should work like this:
A player clicks a button with a name "XXX" -> The corresponding variable increments (eg, I click on Playsta (Player 2) -> votes[2]=votes[2]+1).
And then you can hide your dialog with buttons.
2) Banning: It should be simple. You just need a trigger, wich fires when a variable reaches ActivePlayers-1 count. In order for the event to not work, you can just add a condition to the trigger, which checks if the amount of Active players is more than 2. Then you just drop him off the game.
That's an interesting concept, yuka. Your own ideas? :D Nevertheless, I'd like to work with somebody on that type of project. Does somebody want to try that?
It's looks logical when you say it so. But since some kind of script can run while sc2 finishes loading, they could implement such action, which alowed to Preload bank for players from x to y.
I'm glad that now I know about that minor thing which disturbed me for an hour :D
I've made this here trigger, which should sync, load and then set apropriate variables.
There's a problem with the condition:
(Section "Player" exists in bank Banks[i]) == False
It always returns false, so it resets every key inside the bank. As an example, I've manually changed the bank file to load value "X", but it still sets it to "Local Player". How can I fix that? Or is there any error that I've missed?
I think you're mistaking what he's saying. Sandround seems to be talking about a 'mega map like the original DOTA'. As in a map that evolves out of a couple of different maps, then gets lots of stuff right and becomes a whole new genre by itself. Not just "a map of the DOTA genre".
Well, yes, maybe I am mistaken. But the thing is, that Sotis is a sc2 successor of dota from wc3. Utilizes sc2 game engine, trigger system and etc. It also feels a lot more faster than wc3s dota or LoL. For me, it actually is a "mega" map. I hate dota, almoust never play it. :( Although played LoL for some months :D
0
Sent you a pm.
0
Well, that should be something simple. Your triggers should be divided in 2 groups - button clicking and banning.
1) For votes, you should use an Integer Array (Var of type Integer, Array with size of max human players). The clicking should work like this:
A player clicks a button with a name "XXX" -> The corresponding variable increments (eg, I click on Playsta (Player 2) -> votes[2]=votes[2]+1).
And then you can hide your dialog with buttons.
2) Banning: It should be simple. You just need a trigger, wich fires when a variable reaches ActivePlayers-1 count. In order for the event to not work, you can just add a condition to the trigger, which checks if the amount of Active players is more than 2. Then you just drop him off the game.
In theory, that should be it. :)
0
There's a tutorial here, on sc2mapster, on how to create multi level abilities.
0
I just knew you're going to misspell my nickname :D It's Dwarfius.
0
Try running the game in windowed mode.
0
I was affected by it. Even after deleting every self-duplicating object, the map still lagged. After save, all the objects were still in place.
0
It's a random bug that occurs at random :D Don't know any way of fixing it - it can fix itself or with a reinstall.
0
That's an interesting concept, yuka. Your own ideas? :D Nevertheless, I'd like to work with somebody on that type of project. Does somebody want to try that?
0
Well, that one is not a problem, I guess... Does somebody want to make that kind of zombie survival?
0
Tanks a bunch! :D
0
I want one :3 Please? :D
0
It's looks logical when you say it so. But since some kind of script can run while sc2 finishes loading, they could implement such action, which alowed to Preload bank for players from x to y. I'm glad that now I know about that minor thing which disturbed me for an hour :D
0
I'll try your suggestion. As for the note, thanks, I forgot that that loop exists. Remaking it now :)
Edit: God damn it! You were right, it really does accept only constants, but why? :D oh well, thank you for the help!
0
I've made this here trigger, which should sync, load and then set apropriate variables.
There's a problem with the condition:
(Section "Player" exists in bank Banks[i]) == False
It always returns false, so it resets every key inside the bank. As an example, I've manually changed the bank file to load value "X", but it still sets it to "Local Player". How can I fix that? Or is there any error that I've missed?
0
Well, yes, maybe I am mistaken. But the thing is, that Sotis is a sc2 successor of dota from wc3. Utilizes sc2 game engine, trigger system and etc. It also feels a lot more faster than wc3s dota or LoL. For me, it actually is a "mega" map. I hate dota, almoust never play it. :( Although played LoL for some months :D