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 06-24-2002, 08:47 PM
ancientphoenix ancientphoenix is offline
Registered User
Join Date: Sep 2001
Location: The Earth
Posts: 288
ancientphoenix is on a distinguished road
Send a message via AIM to ancientphoenix
Light script help?

Ok. Well, I need some light script help. I was wondering how you would make the color of the lights randomize, the size randomize, and the lights spin around. Thank you for your help in advanced.
__________________
-----------------------------
Rozzmo and Beowulf
-----------------------------
Reply With Quote
  #2  
Old 06-24-2002, 09:37 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Re: Light script help?

Quote:
Originally posted by ancientphoenix
Ok. Well, I need some light script help. I was wondering how you would make the color of the lights randomize, the size randomize, and the lights spin around. Thank you for your help in advanced.

random(min,max) would be helpful in this situation.


as for spinning. Do you mean spinning stationary or spinning around something?
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #3  
Old 06-24-2002, 09:42 PM
RavenTelvecho RavenTelvecho is offline
Registered User
RavenTelvecho's Avatar
Join Date: Apr 2002
Location: Toronto, Ontario, Canada
Posts: 0
RavenTelvecho is on a distinguished road
Send a message via ICQ to RavenTelvecho Send a message via AIM to RavenTelvecho Send a message via Yahoo to RavenTelvecho
for spinning around something ud need cos and sin ;x
__________________

^tuff newbie ;x
RavenTelvecho
!Booj
we are 'brothers'
Reply With Quote
  #4  
Old 06-25-2002, 12:33 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
random(0.1,1)
Reply With Quote
  #5  
Old 06-25-2002, 01:52 AM
Dustey4Ever Dustey4Ever is offline
Registered User
Join Date: Apr 2002
Posts: 348
Dustey4Ever is on a distinguished road
Send a message via AIM to Dustey4Ever
Dustey: for is one of the best things you can use for serveral lights, its alot less lagier then if you scripted one after another individually, if you use a for loop you can use arrays.
__________________
Dustey, Rob Getashu, Van?
Van- I use this acct because mine dun work.....
Rob- Same
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 02:52 PM.


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