EventPlayer - Event Response for Unit events

SerraAvenger

Cuz I can
Reaction score
234
Looking at the Ntve lib, EventPlayer() is actually an event response to a huge number of unit events, like "Unit Uses Ability". I guess hence that it would actually return the owner of the EventUnit.

Just putting this since I always used [/JASS]GetOwningPlayer( GetTriggeringUnit() )[/LJASS] in Wc3, and I guess others did the same.
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top