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

[Trigger] GetLocalPlayer() and Play Unit Animation ?

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
Pro tip: tracking when a player selects a unit is really slow in multiplayer. If you use trackables instead, you can also trace when a player hovers the mouse over the button! I have a system for this that you can use to make it work with GUI.
Trackables also need to synchronize events so will have approximately the same latency in multiplayer (Round Trip Time + buffer).
 
Level 9
Joined
Jul 3, 2008
Messages
495
Trackable is just a model you can place anywhere on the maps x/y axis. The z axis dont work.

It can fire a trigger event when a trackable is clicked, or you just hold your mouse cursor over it.

However blizzard did not finish them, and they are only available in jass. Trackables cant be move or deleted when first created.
 
Status
Not open for further replies.
Top