PDA

View Full Version : Lights


ReptilioWarlock
04-04-2001, 10:52 AM
Can someone tell me the script to make the lights on graal........i would like them to be green

WeirdmanI9
04-04-2001, 11:20 AM
Bah, I was experimenting with NPC Scripts one day, and all of a sudden, when I got tested the level, it had a big light right in the in the coordinates I had specified. I hink it is like
setlighteffect x,y,rgbvalue,'','','','';
That might just be it, when I get my computer back I think I'm gonna script an underground level where there are like Neon Lights and stuff, and if it works out for me I'll send you the script.

_____________________________________________
!Stan Mental Knight (Elemental Knights)

grim_squeaker_x
04-04-2001, 07:31 PM
If you want one of those typical light effects, set the NPC's image to light2.png, and use the following code:
if (playerenters) {
setcoloreffect r,g,b,a;
}

In which r, g, b and a have values between 0 and 1.