• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

handles on ids of objects

Status
Not open for further replies.
Level 15
Joined
Aug 7, 2013
Messages
1,342
Hi everyone,

I recently took over the Monster Master RPG project by Robbepop, and am very new to the idiosyncrasies of JASS. I downloaded the JassNewGen5. For some reason it complains about hundreds of syntax errors, even though the map works fine (unedited version).

How do I get handles on the IDs of units, abilities, objects, etc. in the map, without actually having to go into the editor and find them (e.g. I want to find the ID of the hero ability holy light, or a particular custom unit)? Is there a list/table the editor keeps track of?

Thanks

-seth
 
Yes, those are what I am referring to, but also the ids of object instantiations in the map too.

For example, suppose I start using a function that takes a unit u as a parameter. While I'm writing it up, I'd like a list to pop up that gives all possible values that could fill it. Basically an autocomplete feature for arguments and values of variables. Or say I want to reference a certain doodad/gate. If I want to open it, while whatever handles that needs a handle on a particular gate in the map, it should pop up with a list of those available in the map (again very similar to an autocomplete feature).

I put an image up of what feature I'm inquiring about. In this example, nltk is a module/library, and has many sub libraries, and if I don't immediately know which I'm looking for, a long list will pop up of all valid modules that I could choose.
 

Attachments

  • pythonautocomplete.png
    pythonautocomplete.png
    5 KB · Views: 102
Status
Not open for further replies.
Back
Top