• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Disabling a dialogue button?

Status
Not open for further replies.
Level 9
Joined
Jun 7, 2008
Messages
440
Is there a way to disable an dialogue button until a certain condition is met?
I have 4 dialogue buttons for an event. I only want to show 3 of them, until a certain condition is met.

If not, is there anyway to incorporate two different dialogues for the same event at the same time?
 
Level 9
Joined
Jun 7, 2008
Messages
440
I see what your saying, but i thought that the dialogue button had to be set up through map initialization. Am i wrong?

EDIT: its also gotta be disabled incase that event isnt met. Its gotta be made so it could be recurring. That event happens every 600 seconds
 
Level 7
Joined
Jul 20, 2008
Messages
377
No, dialogue buttons do not have to be set up through map initialization, even though you could. When it's disabled, just remove the button from the dialog. When it's re-enabled, add it back.
 
Level 9
Joined
Jun 7, 2008
Messages
440
Awesome, It works. I wonder, even though the point is moot now, would it be possible to just leave it on as is, and even though the event hasn't occured, just tell the triggering player that this option is not available? Or no?
 
Level 7
Joined
Jul 20, 2008
Messages
377
You COULD use grayed-out text for the button label and just make the button do nothing except return to the menu it was at, if you desire.
 
Status
Not open for further replies.
Top