- Joined
- Aug 3, 2019
- Messages
- 38
Hello, I have an issue of adding second player to the game. When I do add second player and try to save- I get this message from JassHelper-
Line 877: Function redeclared: CreateUnitsForPlayer4
Line 499: ----Previous declaration.
I believe this is pretty simple compared to things you solve here, so I bet it'll be an easy task to solve for most of you.. not for me though
However, if I don't add player 4 in player properties, I can safely save and exit and play the map without a problem.. also works like that if I remove all units of player 4 but keep him there in the player properties.
Also, player 2 and 3 are AI, and it works perfectly to add/delete them. It's just the goddamn player thing.
I'm pretty n00b at this, so apologies if there is just some simple mistake.
I really hope you can help me, because I have done everything in the map, this was one of the last things I've done in the edit. By the way I have added everyone in the forces, in case that's what you need to know.
Thanks for your help and tolerance,
Matt.
UPDATE- I have played with this myself a bit, and funnily enough, all I had to do was to change player 5 for player 8.. and then it worked without a single problem. I dont know how, but it did. So feel free to tell me the reason why it didn't work, because im very curious about this.
Line 877: Function redeclared: CreateUnitsForPlayer4
Line 499: ----Previous declaration.
I believe this is pretty simple compared to things you solve here, so I bet it'll be an easy task to solve for most of you.. not for me though
However, if I don't add player 4 in player properties, I can safely save and exit and play the map without a problem.. also works like that if I remove all units of player 4 but keep him there in the player properties.
Also, player 2 and 3 are AI, and it works perfectly to add/delete them. It's just the goddamn player thing.
I'm pretty n00b at this, so apologies if there is just some simple mistake.
I really hope you can help me, because I have done everything in the map, this was one of the last things I've done in the edit. By the way I have added everyone in the forces, in case that's what you need to know.
Thanks for your help and tolerance,
Matt.
UPDATE- I have played with this myself a bit, and funnily enough, all I had to do was to change player 5 for player 8.. and then it worked without a single problem. I dont know how, but it did. So feel free to tell me the reason why it didn't work, because im very curious about this.
Attachments
Last edited: