Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   No more seteffect (https://forums.graalonline.com/forums/showthread.php?t=30991)

Yushiwa 06-06-2002 07:38 AM

No more seteffect
 
Okay, I have this script right here and I was wanting to know what I should put after the

if (playerendsreading){

to put the lighting in the room to the normal lighting when you start Graal. Here is the script:

NPC Code:

// NPC made by Nai
if (playerenters){
seteffect 0,0,0,100;
playerx=29.5;
playery=24;
playerdir=2;
say 0;
}
if (playerendsreading){

}


Yushiwa 06-06-2002 08:43 AM

Hmm, 100 works. Anyway, the script works now! Thanks Kaimetsu!

Spanko 06-06-2002 05:54 PM

Just set the alpha value to 0 after reading the sign, this'll make the seteffect completely transparent (I.E. it'll be gone)


All times are GMT +2. The time now is 01:33 PM.

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