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

How to get the 'clicking player' from a dialog button event

Status
Not open for further replies.
Level 6
Joined
Jan 8, 2009
Messages
140
If each player can have their own dialog box, is there a way to figure out which player was the one who caused the event to trigger?

this is what i mean:

  • Events
    • Dialog - A dialog button is clicked for Dialog[1]
    • Dialog - A dialog button is clicked for Dialog[2]
    • Dialog - A dialog button is clicked for Dialog[3]
    • Dialog - A dialog button is clicked for Dialog[4]
    • Dialog - A dialog button is clicked for Dialog[5]
    • Dialog - A dialog button is clicked for Dialog[6]
    • Dialog - A dialog button is clicked for Dialog[7]
    • Dialog - A dialog button is clicked for Dialog[8]
    • Dialog - A dialog button is clicked for Dialog[9]
    • Dialog - A dialog button is clicked for Dialog[10]
    • Dialog - A dialog button is clicked for Dialog[11]
EDIT: after writing it out it became obvious what to do... if a mod could please delete the thread sorry
 
Status
Not open for further replies.
Top