 |
|
Senior Member
Join Date: Feb 2008
Location: Latvia
|

10-07-2009
, 17:42
Re: Adding a glowing efect
|
#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.
|
|
|
|