Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
blinking lights #9775
07/18/02 09:37
07/18/02 09:37
Joined: Jul 2002
Posts: 21
VA, USA
R
Reyes Offline OP
Newbie
Reyes  Offline OP
Newbie
R

Joined: Jul 2002
Posts: 21
VA, USA
how ca i make my dynamics lights to blink example. i want them on for 3 sec then of for 5 sec...
please help.
thanks.

Re: blinking lights #9776
07/18/02 10:14
07/18/02 10:14
Joined: Jan 2002
Posts: 644
USA
tesanders Offline
Developer
tesanders  Offline
Developer

Joined: Jan 2002
Posts: 644
USA
You could do the following on an object:

code:
# Turn red:
my.red=128;

while(1) {
# Light up and wait 3s:
my.lightrange=1000;
waitt(16*3);

# Blink off for 5s:
my.lightrange=0;
waitt(16*5);
}

=thomas


Moderated by  HeelX, Spirit 

Gamestudio download | 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