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

Is there a good non-vJass unit indexer?

Status
Not open for further replies.
What I'm really looking to do is integrate a unit indexer into my modified Blizzard.j, but it seems like all the ones I've found are made in vJass, with structs and things like that.​
I've never actually used vJass but since I'm working with Blizzard.j for a mod, and not within the confines of a single map, it'd probably better to stick with standard JASS.​
Is there a good non-vJass unit indexer?​
 
Last edited:
Hmmm, i tried to insert the compiled vJass of TriggerHappy's UnitDex into my blizzard.j, careful to put the 'globals' in the globals section instead of creating a second globals section, and moving all its functions to the bottom (yet still above InitBlizzard and my own functions)...

but war3 does not accept it unfortunately. Not sure where the problem would be, but I'd guess there are things expected to be present in a 'proper' vJass use case (within a map) that is not present before attempting to load a map. This is a total guess though.

Re-titled/worded OP to make more sense for what I'm trying to do.
 

Attachments

It seems it may have been a problem in my code. I renamed a function but forgot to update a line that was calling the function :P

Either way, I've switched over to Bribe's GUI Unit Indexer, except modified so it's all in Blizzard.j, and it appears to work like a charm.
BribeUnitIndexerTest.jpg
 
Status
Not open for further replies.
Back
Top