• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[General] Event unit is selected and un-selected by Select User (by Marketplace)

Status
Not open for further replies.
Level 3
Joined
Mar 15, 2015
Messages
53
I'm trying to detect the event where that a unit is selected/un-selected by Select User from, example Marketplace. Is there any way to do it? Tks for helping.
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,583
If you can't detect it from an ability cast then try using orders. A unit issued an order targeting an object -> Order = whatever the select user order is -> Do stuff.

Dunno if you can detect Unselecting units. It's probably possible with a more complex system, something like keeping track of who has been selected by the marketplace and then keeping an eye on that unit periodically to see if it's still selected/near the market.
 
Last edited:
Status
Not open for further replies.
Top