HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dialog not showing??

11-29-2003, 09:45 PM#1
I)arknezz
i made a dialog for choosing hero in my Aeon:

create a dialog button for herotype (<-variable) named Monk
change title to Hero Choice:



time elapsed = 1 second

pick all players in "all players" and do: show dialog "herotype" for picked player.

------------------------------------------------------

Ok thats it. BUT when is start game, i though it wud show the dialog in 1 sec, and after 1 sec the game "locked itself" as normal when showing dialog (u cant click on exit, F9 quests etc.) but it doesnt show dialog. So it locks the game to show dialog, but doesnt show dialog. I have no idea whats wrong=(

Plz help!
11-29-2003, 11:17 PM#2
Aiursrage2k
All I think of is that you created the dialog at map initialization, change it to 0 seconds have passed.
11-30-2003, 07:37 AM#3
I)arknezz
ok thanks alot now it works (changed into 1 sec and showed after 2, isnt even noticable)

BUT when i fixed that, i got a second problem with the dialogs i have:

first i create all dialogs i need, setting the variables to "last created dialog button" so i got 1 variable for each button.

Heres the trigger that bugs:

event: a dialog button is clicked for CombatDialog (variable).

actions: if dialog button clicked = SuperWarrior (exaple variable), then show SuperWarriorDialog for <triggering player>

Fat text = bug. It doesnt show any dialog. I tried putting a 1-second space between the "if" and "then"; still doesnt work. I guess the clicking player IS NOT the triggering player in this trigger. But i dont think there are any event-responses who work for "clicking-player". anybody know wát to do?

plz help

edit: ill try making one trigger for each player, will take ALOT of space and ALOT of time.... DOH
11-30-2003, 12:36 PM#4
chemo
u have to make the"show dialog" in another trigger...

trigger01


E:A dialog is clicked for dialog
C:
A:if dialog[0] is clicked then run trigger02 (ignoring conditions) else Do Nothing


trigger02

E:
C:
A: Dialog change title of Dialog02 to "Hi"
Dialog- show Dialog to Player X



it works perfectly in my admin mod :D
11-30-2003, 03:49 PM#5
Peacerich
yes, i tried that to. But i cannot use the "triggering player" when using a different trigger. The dialog will be shown to all players, then i want if for example: player blue clicks on the button named "hero type = combat" there will show a new dialog for HIM (triggering/clicking player) with the different combat heroes to choose between.

but ill try exactly like u said, ill tell u in a few min if it worked...

:foot:

edit: lol forgot to tell u: i am I)arknezz with new name.

edit2: Lol i notice that when i use "event = time elapsed 10 sec, then show the "combat-hero trigger" it will show. BUT when i click on of those buttons nothing happens lol (shud create a hero) ill go check in some old wintermaul version with dialogs and check wats wrong.. plz reply if u know anything
11-30-2003, 07:43 PM#6
linkmaster23
lol Triggering player doesnt work as he said, i learned this the hard way, but all you really do is just make it for each player.