Raised This Month: $ Target: $400
 0% 

Laser Dot.. how?


Post New Thread Reply   
 
Thread Tools Display Modes
craze
Junior Member
Join Date: Oct 2005
Old 10-26-2005 , 10:25  
Reply With Quote #11

Both of your code's seem to look fine to me, and my code looks fine too, so im keeping mine the same for now but i may change it later for ettiquetes (sp?) sake.

Anyways, the laser dot was blinking. The reason was, at the end of the laser loop there was a message_end() which cause the laser to turn off, but since there was a loop set for 1.2 seconds it would keep turning itself back on; hence the blinking.
So yah, I removed the message_end and it works fine now. Thanks for all your help guys
craze is offline
Send a message via AIM to craze Send a message via MSN to craze
Belsebub
Senior Member
Join Date: Feb 2005
Location: Sweden
Old 10-26-2005 , 11:09  
Reply With Quote #12

It would be better to use
Code:
if (!shModActive()) return
before the loop
Belsebub is offline
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 -4. The time now is 13:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode