Raised This Month: $ Target: $400
 0% 

messages


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
johnjg75
Veteran Member
Join Date: Mar 2004
Location: Delaware
Old 09-26-2004 , 15:52  
Reply With Quote #2

well there's many different messages you can apply to...
the following makes their screen a certain color(red in this case)
Code:
    message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},id)     write_short( 15 )     write_short( 15 )     write_short( 12 )     write_byte( 200 ) // red     write_byte( 0 ) // green     write_byte( 0 ) // blue     write_byte( 200 ) // alpha     message_end()
Notice it has get_user_msgid("ScreenFade") so it uses the screenfade message to apply the color. The following is a screenflash...
Code:
    message_begin(MSG_ONE, get_user_msgid("ScreenShake"),{0,0,0},id)     write_short( 1<<3 )// amplitude     write_short( 1<<3 )// duration     write_short( 1<<3 )// frequency     message_end()
also see the ScreenShake message... notice that the last parameter of message_begin() is who it applies to so make sure you set it to ur needs There are many others but i hope this gives some understandment....
__________________
johnjg75 is offline
Send a message via AIM to johnjg75 Send a message via MSN to johnjg75 Send a message via Yahoo to johnjg75
 



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 17:25.


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