hi, i hav som trouble with the triggering of a alternate melee map. basically u hav a voting board at d start, nd then ppl select their races nd at d end of the countdown, the starting units r created. but i fought it hard to implement this by myself, is there any tutorials or templates about the basic triggering of a alternate melee map? if so, dat will b really helpful!
i opened warcraft reloaded(divided&conquer) nd had a look, which i then used its triggering method on my map. nd adjusted som data nd variables. everything seems to b completely done, but when i tested it wif som friends, the voting board only appeared for me...i tried to fix every possible error but it still wont work. Thats basically the cause for me to post help here.
cazati opened warcraft reloaded(divided&conquer) nd had a look, which i then used its triggering method on my map. nd adjusted som data nd variables. everything seems to b completely done, but when i tested it wif som friends, the voting board only appeared for me...i tried to fix every possible error but it still wont work. Thats basically the cause for me to post help here.
hm... without the trigger its really hard to say what your problem is. you may post it here?
herez the dialog trigger nd how its goin 2 b showed:
Dialog Events Map initialization Conditions Actions Player Group - Pick every player in (All players) and do (Actions) Loop - Actions Dialog - Create a dialog button for RaceDialog[(Player number of (Picked player))] labelled Random Set RAButton[(Player number of (Picked player))] = (Last created dialog Button) Dialog - Create a dialog button for RaceDialog[(Player number of (Picked player))] labelled Human Set HUButton[(Player number of (Picked player))] = (Last created dialog Button) Dialog - Create a dialog button for RaceDialog[(Player number of (Picked player))] labelled Orc Set OrcButton[(Player number of (Picked player))] = (Last created dialog Button) Dialog - Create a dialog button for RaceDialog[(Player number of (Picked player))] labelled Undead Set UDButton[(Player number of (Picked player))] = (Last created dialog Button) Dialog - Create a dialog button for RaceDialog[(Player number of (Picked player))] labelled Night Elf Set NEButton[(Player number of (Picked player))] = (Last created dialog Button) Dialog - Create a dialog button for RaceDialog[(Player number of (Picked player))] labelled Naga Set NAButton[(Player number of (Picked player))] = (Last created dialog Button) Dialog - Create a dialog button for RaceDialog[(Player number of (Picked player))] labelled Blood Elf Set BEButton[(Player number of (Picked player))] = (Last created dialog Button) Dialog - Create a dialog button for RaceDialog[(Player number of (Picked player))] labelled Fel Orc Set FelButton[(Player number of (Picked player))] = (Last created dialog Button)
Start Events Time - Elapsed game time is 5.00 seconds Conditions Actions Player Group - Pick every player in (All players) and do (Actions) Loop - Actions Dialog - Change the title of RaceDialog[(Player number of (Picked player))] to Select your race! Dialog - Show RaceDialog[(Player number of (Picked player))] for (Picked player) Countdown Timer - Create a timer window for Timer with title Racevoting Time Countdown Timer - Start Timer as a One-shot timer that will expire in 25.00 seconds Melee Game - Remove creeps and critters from used start locations (for all players) Melee Game - Use melee time of day (for all players) Melee Game - Limit Heroes to 1 per Hero-type (for all players) Melee Game - Give trained Heroes a Scroll of Town Portal (for all players) Melee Game - Set starting resources (for all players)
umm...i found it really hard to word this. To hav 'player number of picked player' so dat dialogs can b created for each corresponding player. dis saved my time by writing 'display dialog[1] to player1, dialog[2] to player2' vice versa...
its hard 2 explain it here, i noe its hard 2 understand , sry. i can possibly b wrong, so can anyone give me som suggestions?
hmm, from a theoretical standpoint i don't see anything wrong... although personally i would have gone with a for loop integer A so you wouldn't have to do player number of picked player although of course i could be missing something what was the problem? it shows the dialog to player 1 but none of the other players?
cazatso far, yes. the dialog only displays 4 player 1, none others.
well, this is where some debugging skills come in handy i suppose
in trigger "Dialog" put a game - text message ("Created dialog for: " + string(player number of (picked player) )
if it doesn't show them switch it to at game time 0 instead of initialization
also put a display msg like that in the "Start" trigger loop
to be sure personally what i would have done is done for loop int A = 1 to 8 (or max players) do -- Dialog - Create a dialog button for RaceDialog[int A] labelled Random -- Set RAButton[int A] = (Last created dialog Button)
and
for loop int A = 1 to 8 (or max players) do -- Dialog - Change the title of RaceDialog[int A] to Select your race! -- Dialog - Show RaceDialog[int A] for (PlayerIndex(int A))