• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Quick Question

Status
Not open for further replies.
Level 13
Joined
Jul 26, 2008
Messages
1,009
The action you're talking about is "Select" in JASS. Try searching it under the functionlist. EnumSelectUnits, IsUnitSelected, all of those are good examples.

It does not work on destructibles though, which is not how inventory systems (Like TKoK's) work anyways. They might use a zoom in on units with single plane models that're wrapped in a button skin to make the unit look like a button. Really they're just a bunch of units placed around an area.

It's actually very complicated and takes some major planning out. Smaller systems may use abilities and ability buttons.

Whatever your route, good luck.
 
Level 18
Joined
Jan 21, 2006
Messages
2,552
Well a trackable has event responses. If the mouse cursor moves over a trackable it responds to one of the events, and if the trackable is clicked it responds to the other event. I believe trackables are an unfinished feature of WarCraft.
 
Status
Not open for further replies.
Top