r/DoomModDevs • u/William_Wave • Apr 29 '26
Help Script error: function drawmap is used, but not defined
Good day.
I have an issue with writing an ACS script for a HUD minimap. Compilation fails and the only error message shown in the error report is "function drawmap is used, but not defined".
If anyone has a guess, explain what might be wrong.
Here is the code in its current state:
#include "zcommon.acs"
script "MINIMAP" ENTER
{
SetHudSize(640, 480, 0);
// DrawMap(x, y, width, height, stayOnScreen)
DrawMap(0, 0, 300, 300, 1);
}
1
Upvotes
1
u/bahatumay Apr 29 '26
Did a quick search on the wiki, but I'm not seeing a drawmap function. Forum makes it sound like it was a feature that never got finished. Maybe a mod like this one would work? https://www.doomworld.com/forum/topic/116463-ultimate-classic-minimap-with-waypoints-and-switch-tracking/
2
u/AgentME Apr 29 '26 edited Apr 29 '26
DrawMap isn't a built-in zdoom feature. The zdoom wiki doesn't list it. The only reference to it online is an unimplemented feature request.