Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function _BlinkLight( light )
- {
- if( !light )
- return;
- function light_proc( light )
- {
- for( i = 0; i < 3; ++i )
- {
- light.enabled = true;
- yield 0.25;
- light.enabled = false;
- yield 0.25;
- }
- }
- thread light_proc( light );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement