1
Utilities and 3rd Party Applications / Re: dfhack 34.11 - how do I figure out a dwarfs unit id?
« on: August 14, 2017, 01:49:06 pm »First off, it's not LUA. It's Lua.
You need to run the command "lua" to enter the Lua interpreter, followed by "print(dfhack.gui.getSelectedUnit().id)", then "quit" if you want to get back to the DFHack console.
thanks.
now there is still the problem of dead units not being selectable and finding out the unitIDs of dead enemies