• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

JASS Ability display on a custom ui without a library

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
I'm working on a card game. It has a custom ui on top of the classic one. I need to display the abilities of the selected unit, without making a library, cause there ll be hundreds of new abilities in the future and i don't want do add each one to the library. Please help!!!
What do you mean by "without making a library"? What is a library in this context?

Anyway, how are you going to create these abilities? Because you should be able to store them during the process of creating them, it's not like it'd be more than 5 seconds of extra work to do so. In fact, if you're doing things properly you will naturally have a database of cards already.
 
Level 27
Joined
Dec 3, 2018
Messages
896
The mechanism would be: When i Click on a unit, a trigger will check if the unit will have any of the abilities in the library(level of ability x greater than 0 ). If yes, i ll display the art over the ui, with the tooltip also.
Isn t there a way to check for the abilities without the library? How would you do it?
 
Top