Raised This Month: $ Target: $400
 0% 

Blackout


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 02-26-2006 , 13:38   Blackout
Reply With Quote #1

Hot to make a person's screen black and stay like that until i send another screenfade message.

Thx.
__________________
Sig(h)!
Obbin is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-26-2006 , 14:03  
Reply With Quote #2

You have to send the fade message over and over.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Kraugh
Senior Member
Join Date: Jan 2006
Location: barrington, ri
Old 02-26-2006 , 15:18  
Reply With Quote #3

try this:

Code:
#define FFADE_IN    0x0000        // Just here so we don't pass 0 into the function #define FFADE_OUT    0x0001        // Fade out (not in) #define FFADE_MODULATE    0x0002        // Modulate (don't blend) #define FFADE_STAYOUT    0x0004        // ignores the duration, stays faded out until new ScreenFade message received message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},id); write_short(~0); // duration write_short(~0); // hold time write_short(FFADE_STAYOUT); // flags write_byte(0); // red write_byte(0); // green write_byte(0); // blue write_byte(255); // alpha message_end();
__________________
"You can not restrain a fool from speaking, but nothing obliges you to listen."
Kraugh is offline
Send a message via AIM to Kraugh
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 20:14.


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