Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Imhotep), 567 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: The Ultimate Dynamic Light Script [Re: prophet] #41265
07/03/05 04:51
07/03/05 04:51
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline OP

Senior Expert
Orange Brat  Offline OP

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
There's no reason to change anything given it has both a random path and a constant one. If you don't want randomness, then set the appropriate flag/skill, and set a range to whatever you want.

Code:

define range, skill1; //lightrange for this light
define randomColorRange, flag4; //on = light will always be a random color and lightrange
//off = light is constant color & lightrange
define blink, flag5; //on = light will blink; off = light will not blink
define randBlink, flag6; //on = light will blink at a random rate if true...blink must be true



I don't know why it wouldn't show up. It works, and I've been using this script in one form or another for years. Maybe one of the defined flag/skills is getting overridden in your other code? It could also have something to do with "distToggle" or "alwaysOn".


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: The Ultimate Dynamic Light Script [Re: Orange Brat] #41266
07/03/05 05:08
07/03/05 05:08
Joined: Jul 2003
Posts: 592
SLC, UT
prophet Offline
User
prophet  Offline
User

Joined: Jul 2003
Posts: 592
SLC, UT
I now kiss your royal feet and praise your greatness. I aplogize for my ignarance to not read your comments in the code or my impatience for not thinking of right clicking my light and clicking behavior instead of properties.


Thanks for the great code. I will fine tune the setting and it will work nicely.

Last edited by prophet; 07/03/05 05:11.

The attempt at a one man show. http://www.mutsoftware.com
Re: The Ultimate Dynamic Light Script [Re: prophet] #41267
07/03/05 05:15
07/03/05 05:15
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline OP

Senior Expert
Orange Brat  Offline OP

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
No need to get all mushy I try to make the comments at least halfway understandable, so I'm glad you finally got it figured out. At first, it appears to be a convuluted looking monster, but it is really a very simple function.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Page 3 of 3 1 2 3

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1