Ok, what is wrong with these dialog triggers? Basically, I am trying to create a allies-type dialog driven submenu for 12 players to make/break alliances, share units, etc. WITHOUT having to create a dozen seperate instances of the same dialog (which is tedious and time consuming). The method I came up with was to attach a unique place in a single array to every possible permutation of a given dialog event (so the same dialog array has a dozen places for making an alliance with player 1 - one instance for each player).
Unfortunately, when I call these dialogs in game WC3 locks up. Can anyone see what the problem is?
This is the initialization trigger...
And this is the call dialog trigger...
While I was typing this, I think I remembered an old bug where you couldnt assemble dialogs on map initialization, but you had to wait a second or so of game-time. I'm not sure if I am right about that, and if it really is that simple, I will be pissed. But I'm gonna post this while I go to test that, just in case you guys can spot another problem, or that is not it.
Thanks!