![]() |
Light Effects
For anyone who doesnt know how to do light effects I learned so I hope any of you who need it read this.
if(playerenters){ setimg light2.png; setcoloreffect 1,1,1,.5; } It is really simple but I did not know. Just put that inside of a NPC and put it somwhere and it does a light effect. Play around with the numbers and it gives it a different look. |
if (playerenters) {
setcoloreffect 0,0,0,0; setzoomeffect 0; } put that inside the script of an NPC with the image as light2.png. |
whats the difference?
|
you might want drawaslight also
|
I have never even heard of that command =\
|
. . . .
|
Jadis:
wtf man wtf NPC Code: |
Why you getting so angry?? On one post you say dont flame you for somthing and then you come on here and start freaking out. I was just trying to show anyone who didnt know how to do light effects how to do it cuz someome taught me.
|
Jadis:
..? I was not angry.. |
Quote:
you need if (playerenters) else after a bit you see the black circles. common mistake =\ |
Quote:
|
I OWN JO THERE! THIS IS 1000000000% CORRECT!
------SCRIPT------ Red if (playerenters) { setcoloreffect 1,0,0,0.99; setzoomeffect 2; dontblock; drawaslight; } Blue if (playerenters) { setcoloreffect 0,0,1,0.99; setzoomeffect 2; dontblock; drawaslight; } Green if (playerenters) { setcoloreffect 0,1,0,0.99; setzoomeffect 2; dontblock; drawaslight; } Cyan if (playerenters) { setcoloreffect 0,1,1,0.99; setzoomeffect 2; dontblock; drawaslight; } Goldif (playerenters) { setcoloreffect 1,1,0,0.99; setzoomeffect 2; dontblock; drawaslight; } Violet if (playerenters) { setcoloreffect 1,0,1,0.99; setzoomeffect 2; dontblock; drawaslight; } |
Cant see Lighting Effects
:( :( :( :( :( :(
|
No one could see any of it onine w/o the //#CLIENTSIDE comment =\
|
Quote:
|
All times are GMT +2. The time now is 05:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.