Broken Event Function? (GUI)

Status
Not open for further replies.
I don't understand.. is this event broken or am I just losing my mind?

Event.png


I can't get the event to work properly.
Don't bother trolling, I know for a fact it's not the actions and there are no conditions in my trigger.

/facepalm
 
Then you are after doing one of the following.
1. Everytime you change owner, you recostruct the trigger and its event.
2. You make the trigger run for everyone but you apply a condition to restrict the code execution to only when it was triggered by the owner player of that unit.

GetTriggeringPlayer should get the person who typed the message. Re evaluating the owner of the unit each run will always make sure it is correct. Comparing the 2 for equality will return if the trigger was run by the owner of the unit. Running code only if it is triggered by the owner of the unit will do exactly what you want.
 
Status
Not open for further replies.
Back
Top