Light in a gani

I read a thread on here about a light in a gani but I couldn’t figure it out D:

I would like the exact line of script used for it and my sprite index is 20…

Open up your gani using notepad or wordpad. Under all the sprite definitions, put this:

[code]
COLOREFFECT [sprite number] [redness 0-1] [blueness 0-1] [green 0-1] [alpha transparency 0-1]

SCRIPT
if (created){
drawwaslight;
setimgvis [sprite number],3;
}
SCRIPTEND [/code]

Of course, replace everything in brackets with actual numbers. Your sprite numbers will be the number after “SPRITE” on the very top of your gani file.

I feel like an idiot now, thanks for the halp :3

Here’s my new gani :smiley: