HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dialog menu question

05-19-2004, 01:58 AM#1
raleldor
I've been working on this map, and at the beginning it asks for people to choose their heroes. Well as I've been testing it solo its working just fine, I tried it for the first time on battle.net and the dialogs worked fine, but the end results never functioned properly. Maybe someone can see a fault in my trigger that won't allow it to work properly with mutliple players? Nothing happened properly.

Dialog - A dialog button is clicked for HeroSelection

(Clicked dialog button) Equal to Stee

Unit - Create 1 Stee for (Triggering player) at (Center of Hero Spawn <gen>) facing Default building facing degrees

For each (Integer A) from 1 to 6, do (If ((Triggering player) Equal to (Player((Integer A)))) then do (Unit - Create 1 Borderman Barracks for (Player((Integer A))) at (Center of Building[(Integer A)]) facing Default building facing degrees) else do (Do nothing))




As I said before.. this functioned just perfectly when not playing multiplayer. Yet when on battle.net, the dialog showed up just fine, i clicked. and nothing happened (besides the dialog going away of course) thoughts?


Edit: Oh please don't say that each dialog needs to be seperate for each player!? :(
05-19-2004, 09:15 AM#2
CynicalYouth
It seems to me that you are using a loop only to get the players building to be created at a different region for each player.

In that case why dont you just use this trigger:

Unit - Create 1 Borderman Barracks for (Triggering player) at (Center of Building[(Player number of (Triggering player))]) facing Default building facing degrees

This should do the same thing without looping, and that may help with your problem. Though I'm not sure.