HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Showing Multiboard for

11-23-2003, 06:19 AM#1
SpectreReturns
Hey guys, been searching the forums, didnt find any answers, so heres the question. How do you show a multiboard for 1 player only? I have 4 multiboards, one for each player. Ive converted my triggers to jass, added an if comparing if the player number is equal to local player, and if it is, it shows the multiboard.

However, when the trigger runs, I get illegal operations (even in single player), and also I've tested the multiboard without the local player stuff, and it works, so I know that the problem is with the local player.

Whoever can help me get this working will get 15 points and credits in my map.
11-23-2003, 10:14 AM#2
AIAndy
Well, without the code I can't say much. Maybe you compared the local player to a player number but GetLocalPlayer() returns a player.
11-23-2003, 11:15 AM#3
KaTTaNa
Try using the same multiboard variable, and show that to all players.
Then change the values on that multiboard for each individual player.
Just an idea, I don't know if it will work.
11-23-2003, 02:14 PM#4
Magos
Bad idea, game might desynch if the same variable has different values for the different players. Use one variable per player (array) then use a GetLocalPlayer() test for each element. This question was asked/answered in another thread in the JASS forum. Look it up.
11-23-2003, 08:52 PM#5
SpectreReturns
So would I use a local variable to show it?