Raised This Month: $ Target: $400
 0% 

Adding a glowing efect


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
tolsty
Senior Member
Join Date: Feb 2008
Location: Latvia
Old 10-07-2009 , 17:42   Re: Adding a glowing efect
Reply With Quote #6

1)this is to set glow:
set_user_rendering( id, kRenderFxGlowShell, 255, 245, 50, kRenderNormal, 16 );
2)this to remove it:
set_user_rendering( id, kRenderFxGlowShell, 0, 0, 0, kRenderNormal, 16 );

Set the glow in the ultimate function after emit_sound, and find a function like Task_Reset_Godmode or whatever, this is the line how to recognize where the ultimate is removed
set_task ( fTime,"Task_Reset_Godmode", TASK_RESET_GODMODE + id, parm, 2 );

and in that function remove the glow.
__________________
[IMG]http://img2.**************/img2/7173/signfp.jpg[/IMG]

Last edited by tolsty; 10-07-2009 at 17:44.
tolsty is offline
 



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 22:39.


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