Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Why won't this work online? (https://forums.graalonline.com/forums/showthread.php?t=42046)

DarkDragoon_Lloyd 01-17-2003 07:04 AM

Why won't this work online?
 
OK, I am trying to use a seteffect command in a script, but when ever I go into the level, it stays the same... I have tryed clientsideing the script, and about everything else, but it wont work online!

Can someone please help me...
=/

NPC Code:

//#CLIENTSIDE
if (playerenters||created) {seteffect 0,0,.05,.7;}


Falcor 01-17-2003 07:23 AM

That code works for me. *shrugs*stupid suggestion but, Maybe you dont have lights enabled?

DarkDragoon_Lloyd 01-17-2003 07:25 AM

Thats what the NATs said -_-
All of the other lights in the level work...

davidpsy 01-17-2003 10:21 PM

Quote:

Originally posted by Kaimetsu
My vote:

There's a system NPC overriding the seteffect.

Yeah like lets say you were using seteffect as a day and night system. Now lets say it would use the set effect only outside and there was a command like if (!isonmap) {seteffect 0.0.0.0;}
then it would never work in a building it has to be on the map.
But you could do this
if (!isonmap && !quest) {set effect 0.0.0.0;} then all you gotta do is set the flag quest in the inside the building level and unset it outside of the building level.

DarkDragoon_Lloyd 01-18-2003 12:08 AM

OK, thats probably it, I guess I'll go check...
Thanks!


All times are GMT +2. The time now is 07:01 AM.

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