• 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.

buttons buttons buttons...

Status
Not open for further replies.
Level 8
Joined
Jul 9, 2004
Messages
405
how do you make dialog buttons? in my case its like this

a guard says "you must pay 10 gold to pass through this gate."

then it pops up saying "pay the 10 gold?"

and 2 buttons:
1- Yes pay 10 gold.
2- No keep your gold.

and when you say yes the gate 'opens' and it forces u to walk through(it doesnt really open u just get non-collision and walk over it, it has pathing blockers on it, so other players cant pass to.)
 
Level 8
Joined
Apr 3, 2004
Messages
507
You need to create a dialog box variable, and add buttons to it (but not during Map Initialization; that doesn't work). Set each button to a dialog button variable as you add it. Make sure that the dialog box is hidden to begin with, and show it when they approach the gate (or whatever). Then make another trigger that detects when one of those buttons is clicked and perform your trigger.
 
Status
Not open for further replies.
Top