Trace player who clicked ability

Lahey

New Member
Reaction score
1
I got a building with hero select ability. This building has an ability that players can click on. Is it possible to find out who clicks on the ability?
 

Whoareyou.

New Member
Reaction score
24
You could do
Trigger:
  • Events
    • A player selects a unit
    • Conditions
    • Unit equal to type of Building
    • Action
    • Wait 10.00
    • Change Ownership of Building to _
 

XeNiM666

I lurk for pizza
Reaction score
138
you can make it so it sells a unit and not cast anything.

then if you sell the unit, get the owner of the sold unit, remove the sold unit and trigger everything that the spell does...
 

DioD

New Member
Reaction score
57
you shoud CLONE building, and let every player to select only its own, or use dummy units.
 

Lahey

New Member
Reaction score
1
@Whoareyou: Selection events bugs alots in multiplayer games
@XeNiM666: Good idea to make it sell an item (which you later remove)
@DioD: Good idea to you dummy units for each player

So you could make the player amount of dummy units near the building to buy an item. It's kinda too much trouble for a very small thing though. Also the building im talking about can be built dynamicly so I think I'll just leave it as it is.
Thanks for replies.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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