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

Getting a list of structures a builder can build / units a structure can train

Status
Not open for further replies.
You can sorta can.

1. Download this Item Data Extractor 1.0

2. Delete all the function names and add GetUnitTypeStructuresBuilt takes integer integername returns string

3. at the bottom, where it says LoadItemData change it to LoadUnitData, and replace all those ids with the desired build ability id.

4. Then utilize String by Bannar [Snippet] String to grab separate ids.

Note: You will need WEX to turn on Object Data Extractor.
 
You can sorta can.

1. Download this Item Data Extractor 1.0

2. Delete all the function names and add GetUnitTypeStructuresBuilt takes integer integername returns string

3. at the bottom, where it says LoadItemData change it to LoadUnitData, and replace all those ids with the desired build ability id.

4. Then utilize String by Bannar [Snippet] String to grab separate ids.

Note: You will need WEX to turn on Object Data Extractor.

This is too complicated for what i want to achieve, I thank you for advice tho
 
Unfortunately Warcraft III doesn't expose a lot of object data which can't be changed ingame through the trigger system, since it assumes anyone who wants this information will just hardcode it since it's constant anyways. ODE was created to solve this problem, but as you mentioned is unfortunately a bit more heavyweight than you might be looking for.
 
Status
Not open for further replies.
Back
Top