I actually just figured out a slightly ridiculous way to get the result I want lol, but if it works it works. Just tried using the decTohex function found here ->
viewtopic.php?t=51127
function decToHex (dec as integer) as string
hexTab = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"]
hex = ""
while dec > 0
hex = hexTab [dec mod 16] + hex
dec = dec / 16
end while
if hex = "" return "0" else return hex
end function
Then I took that string and put it in a
screen.DrawObject(x,y,bm,val(str,16))
It worked, lol. If there is a better way I will certainly use it, but otherwise I guess this will work.
Edit: I can now change the hue and saturation of each of the 3 sections of my ship while in game... muahahaha
😄