Basically, many map objects are generated within the map editor using "Generate Instances From Icon_states" or "Generate Instances from Directions". When my minimap "scanner" run into these objects, it doesn't pull up the correct replica of the icon, and fucks up the minimap. How do I get a direct copy of these map editor generate icons?
I've tried applying fcopy_rsc() to see if it could help but no luck. Lmk if you got any advice.
if(!minimap[T.type])//T is turf thats been scanned
ic=icon(T.icon,T.icon_state)
scalex=ic.Width()/8
scaley=ic.Height()/8
ic.Scale(scalex,scaley)
minimap[T.type]=ic