- Joined
- Apr 17, 2009
- Messages
- 3,572
Hey Guys.
I have some major problems with my Respawn System and the Kills/Death Multiboard for my Dead Space Map.
When I test the map out of World Editor as Single Player everything works as it should.
After I've chosen my hero, the Multiboard appears.
When my hero gets killed, I get properly respawned.
But if I test it on BattleNet with more than one player, everything bugs.
The Multiboard doesn't show up at all and sometimes, which is weird because it happens sometimes, but sometimes not, the hero of a player doesn't get respawned.
For the Multiboard, I have a little clue what the problem is:
I use an Integer Variable which saves the numbers of playing players (human controllers) then I set a second variable to be same as the PlayingPlayers Integer, called HeroChoosingPlayers or something like that, which saves the numbers of players who haven't chosen a hero yet.
Now everytime a player chooses a hero, the HeroChoosingPlayers is set -1.
Then there's a if condition, if this variable becomes 0, the Multiboard gets shown.
I also made a little test trigger which shows the current data of this variable (just type "-test001" ingame)
It happened that when I tested it with many players this variable became somehow -1 even if hadn't chosen my hero yet.
Or it happened that 1 player chose a hero and me and a friend hadnt chosen yet and it runned the Multiboard trigger.
Somehow the setting of playing players is bugged.
For the respawn system I have no clue.
Please help me with this shitty problem.
I can't find any mistakes in my coding.
I will give you a great amount of rep and big credits if you help me fixing this.
Here's the map:
http://www.hiveworkshop.com/forums/...ad-space-arena-179112/index4.html#post1724434
I have some major problems with my Respawn System and the Kills/Death Multiboard for my Dead Space Map.
When I test the map out of World Editor as Single Player everything works as it should.
After I've chosen my hero, the Multiboard appears.
When my hero gets killed, I get properly respawned.
But if I test it on BattleNet with more than one player, everything bugs.
The Multiboard doesn't show up at all and sometimes, which is weird because it happens sometimes, but sometimes not, the hero of a player doesn't get respawned.
For the Multiboard, I have a little clue what the problem is:
I use an Integer Variable which saves the numbers of playing players (human controllers) then I set a second variable to be same as the PlayingPlayers Integer, called HeroChoosingPlayers or something like that, which saves the numbers of players who haven't chosen a hero yet.
Now everytime a player chooses a hero, the HeroChoosingPlayers is set -1.
Then there's a if condition, if this variable becomes 0, the Multiboard gets shown.
I also made a little test trigger which shows the current data of this variable (just type "-test001" ingame)
It happened that when I tested it with many players this variable became somehow -1 even if hadn't chosen my hero yet.
Or it happened that 1 player chose a hero and me and a friend hadnt chosen yet and it runned the Multiboard trigger.
Somehow the setting of playing players is bugged.
For the respawn system I have no clue.
Please help me with this shitty problem.
I can't find any mistakes in my coding.
I will give you a great amount of rep and big credits if you help me fixing this.
Here's the map:
http://www.hiveworkshop.com/forums/...ad-space-arena-179112/index4.html#post1724434