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

A missing event needed?

Status
Not open for further replies.
Level 12
Joined
Feb 11, 2008
Messages
809
why is there no event
"Dialog - Any player selects Any list box item"?
since for some reason using
"Dialog - Any Dialog Item is used by Player Any Player with event type Clicked" then throwing the condition
"(Selected list item of Start Button Options for (Triggering player)) == 1"
doesn't seem to register unless you select the item then re-select the main dialog again.

EDIT*

nvm its solved i should have looked more into it you must use
"Dialog - Any Dialog Item is used by Player Any Player with event type Changed Selection"
in order to get the direct response of the selection.

thanks anyways guys

EDIT2*

Guys i have 1 more problem and i didnt want to create another thread for it.

you can have a event such as "unit is highlighted" well is there a similar event for "dialog is highlighted"

since so far i have been unable to find a way to make a function fire when you hold in the mouse while over a dialog button

please and thank you guys
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
Generally you do not want to run code when something is highlighted as players can accidently highlight buttons.

If you want a preview system, then force the player to select and give him the option to confirm. This is far less lag prone than an "on hover" event would be.

Remember that all events have to be syncrnious meaning net traffic in the case of dialogs.
 
Status
Not open for further replies.
Top