Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Light script help? (https://forums.graalonline.com/forums/showthread.php?t=32233)

ancientphoenix 06-24-2002 08:47 PM

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.

adam 06-24-2002 09:37 PM

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?

RavenTelvecho 06-24-2002 09:42 PM

for spinning around something ud need cos and sin ;x

Poogle 06-25-2002 12:33 AM

random(0.1,1)

Dustey4Ever 06-25-2002 01:52 AM

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.


All times are GMT +2. The time now is 05:46 PM.

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