Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Lights (https://forums.graalonline.com/forums/showthread.php?t=955)

ReptilioWarlock 04-04-2001 09: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 10: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 06:31 PM

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



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


All times are GMT +2. The time now is 11:36 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.