• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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