• 🏆 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!

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