Trackables

Rabarber

You can change this now in User CP.
Reaction score
94
I've heard of Trackables, and i realized that they are spots on the screen that are clickable. But i have some questions about them.

1 - Do trackables cover a area of the screen or are they always the same size?

1b - If you are able to set their area - how small is it able to be?

2 - What would be the JASS code to create a trackable in the upper right corner of the screen?

3 - How do i create an event for a Trackable being clicked?

4 - Are there any downsides using Trackables? Except being unable to be removed?

Thank you.
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
A trackabe is a object with a model, so it's the size of the model that determines the size which can be clicked.
If you for example set the model to "units\\human\\Footman\\Footman" then you will have a trackabe with the size (and look) of an ordinary footman.
So, the smallest size possible is as small as the smallest model you can find.

Downsides: Probebly as slow as the 'unit is selected' event. Recuires extra work to get a 'Clicking Player' fake event response. AFAIK compleaty untested in a real multiplayer map.

The rest is answered here: http://www.wc3jass.com/viewtopic.php?t=1997
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top