Graal Forums

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

JkWhoSaysNi 03-11-2007 11:41 PM

Showimg drawaslight?
 
is it possible to show an image (or poly) as a light?

I tried all 4 modes but it doesn't act the same as an NPC with drawaslight.

Chandler 03-12-2007 08:51 AM

Yes. I'm sure that it's possible.
PHP Code:

with(findimg(index))
  
red #; //And so on 


Kristi 03-12-2007 11:23 AM

Quote:

Originally Posted by JkWhoSaysNi (Post 1287626)
is it possible to show an image (or poly) as a light?

I tried all 4 modes but it doesn't act the same as an NPC with drawaslight.

It should as long as you set the alpha to less then one

DustyPorViva 03-12-2007 01:10 PM

Last I checked, setting it to 3 had the same effect as drawaslight.

JkWhoSaysNi 03-12-2007 02:10 PM

edit: nevermind.

I figured out the problem. I had to set the layer to 3 so it was above the seteffect()

Admins 03-12-2007 04:22 PM

Yes layer 3 is the drawaslight-layer

0 - drawunderplayer
1 - normal
2 - drawoverplayer
3 - drawaslight
4+ - stats layer

zokemon 03-12-2007 09:32 PM

So, will layer 3 actually remove some seteffect haze? Or does the combination of the two just make gray muck?

Angel_Light 03-12-2007 09:43 PM

experiment ;o

JkWhoSaysNi 03-12-2007 09:55 PM

It kinda does, I was trying to negate the seteffect() on an area denoted by a showpoly() I could get it to lighten but whatever I tried the colours had lost some saturation.


All times are GMT +2. The time now is 08:16 AM.

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