• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Trigger: Dialog Showing, HELP

Status
Not open for further replies.
Level 2
Joined
Mar 9, 2008
Messages
5
:spell_breaker: well i was trying to add 5 more races, which include the original (Human, Orc, Undead, Nightelf) and add (Blood elf, corrupted nightelf, fel orc, draeni, and naga.) i used your "How to make a dialog" thingy, and made a dialog creating these. but after a while i decided it would be more efficent to make it so instead of a dialog full of all the races (which i already accomplised), i make it so it shows 4 smaller lists. for example i change "Night elf" the just "Elf" and then after you get on it gives you a choice of "Night Elf", "Corrupted Night Elf", and "Blood Elf".

So my question is, How do i make it so my "Elf" dialog only shows to people who chose the elf race at the begining

Basically how do i show a dialog to a specific race rather than a specific player? Thank You.
 
Level 26
Joined
Nov 19, 2007
Messages
1,177
When the player selects the Elf dialog, instead of setting their race, create a new dialog. In this dialog, have a choice of the 3 elf races that when clicked, create those starting units.

E.g When a player selects a dialog other than Elf, create their starting units of the selected race
If the selected race is Elf, create a second dialog listing the 3 choices, and when one of those is clicked, create those starting units.
 
Level 13
Joined
Nov 4, 2006
Messages
1,239
you could also use a race comparison trigger eg:
event: time elapsed is 3 sec
condition:-
action: if race of player one equal to nightelf(or elf in your case) then show elf dialog

problem is that you would need an if action for every race and this trigger for every player, its just another possibility to do it, but ike ike's dialog will work too, choose what you like
 
Status
Not open for further replies.
Top