Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-04-2001, 09:52 AM
ReptilioWarlock ReptilioWarlock is offline
Registered User
Join Date: Mar 2001
Location: Australia
Posts: 26
ReptilioWarlock is on a distinguished road
Send a message via AIM to ReptilioWarlock
Talking

Can someone tell me the script to make the lights on graal........i would like them to be green
__________________
Leaders are Followers of what is True, what is fair, & what is Right
-Ice Knight


~True Hope is Hope that doesn't die~
-Ice Knight
Reply With Quote
  #2  
Old 04-04-2001, 10:20 AM
WeirdmanI9 WeirdmanI9 is offline
Banned
WeirdmanI9's Avatar
Join Date: Mar 2001
Location: Laying Low From The Police
Posts: 1,816
WeirdmanI9 is on a distinguished road
Send a message via AIM to WeirdmanI9 Send a message via Yahoo to WeirdmanI9
Talking

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)
Reply With Quote
  #3  
Old 04-04-2001, 06:31 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
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.
__________________

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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