#define DEBUG
world
maxx=10
maxy=10
maxz=1
client
proc/blur(icon/i)
var/obj/o = new(locate(1,1,1))
o.icon = i
var/obj/j = new(locate(1,1,1))
var/icon/k = new(i)
k.MapColors(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,0.3)
j.icon = k
spawn() while(1)
j.pixel_x++
j.pixel_y++
sleep(rand(1,2))
j.pixel_x=0
j.pixel_y=0
verb/load(i as icon)
blur(i)
Problem description:
I receive a run time that says this:
runtime error: list index out of bounds
proc name: MapColors (/icon/proc/MapColors)
usr: Metamorphman (/mob)
src: /icon (/icon)
call stack:
/icon (/icon): MapColors(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0.3)
Metamorphman (/client): blur('avbig.png')
Metamorphman (/client): load('avbig.png')
I followed the instructions from here: http://www.byond.com/forum/?post=265777#comment1224562
just... wat
y u lie to me lummox :,(
I don't believe you can use a decimal in an rgb() type proc, so try adjusting that "0.3".