• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

buttons buttons buttons...

Status
Not open for further replies.
Level 8
Joined
Jul 9, 2004
Messages
404
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.)
 
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.
Back
Top