871
Utilities and 3rd Party Applications / Re: DFHack 0.34.11 r3
« on: June 14, 2013, 01:48:33 am »That is wrong way to do anyway. I was thinking about making a series of overlays for e.g. unit selection (including multiple, from list, by some filter), item selection, generic cursor, etc...dfhack.getline()?
Now I get an error about an "attempt to call field 'getline' (a nil value)".
EDIT:
An online lua reference suggests io.read(). This initially appears to work, but the script causes df to become unresponsive and frozen until you provide input, so I can't move the cursor.
They would be like gui.dialogs. this https://github.com/warmist/OpusArcania/blob/master/buildings.lua actually uses an overlay to show mana in world and has movable cursor. movie how it looks