I've been experimenting with GRIDS and trying to give them a background color, when i discovered a weird glitch.
Code:
#define INF_TIME 3.402823466E+38
//I looked this up on google and that seems to be the largest value a float can have.
spawn(INF_TIME)underlays=list(icon('iconsLARGE.dmi',"background"))
src<<output(src,"skillbar1:1,1")
The underlay shows up correctly on the grid, while on the map the underlay never shows up.
the issue is, if i don't have the spawn, it shows the background and then it shows some sort of werid mini version of it. Is there anything wrong with what i'm doing?
EDIT:
INF_TIME can be any value, i just don't want the image to show up anytime soon.
EDIT THE SECOND:
The random picture that was mention, was not so random, is was the 32x32 version of the underlay.
EDIT THE THIRD:
Tested with /obj's [giving an obj an underlay]. Works the same way. setting an object as the underlay also works in the same manner. Overlays work in the same manner [execpt for the fact they overlap my icon like they're supposed too].