Heloo again.
So this is a part of an ultimate form uwc3,wath i want to do is to make the one ho uses this to glow as long as the ultimate is active.
The glowing should be yelow or gold.
Y tried some methods but not glowing.Y would realy apreciate if someone should show me how to make this.
PHP Code:
/* VooDoo */
public Ult_VooDoo ( id )
{
if ( !Ult_Can_Use ( id, SKILLIDX_VOODOO) )
{
return PLUGIN_HANDLED;
}
if ( !ultimateused[id] )
{
new parm[2];
parm[0] = id;
parm[1] = 3;
godshealth[id] = get_user_health ( id );
hasgodmode[id] = true;
set_user_health_log ( id, get_user_health ( id ) + 2048 );
new Float:fTime = 5.0;
new iByte = 4;
if ( USE_ENH && ( p_attribs[id][ATTRIBIDX_INT] >= INT_MASTER_LEVEL ) )
{
iByte = 4;
fTime = 5.0;
}
else
{
fTime = 3.0;
iByte = 2;
}
set_task ( fTime, "Task_Reset_Godmode", TASK_RESET_GODMODE + id, parm, 2 );
if( Util_Should_Msg_Client(id) )
{
message_begin ( MSG_ONE, 108, { 0, 0, 0 }, id );
// Bar ( thanks to bad-at-this )
// duration
write_byte ( iByte );
// duration
write_byte ( 0 );
message_end ( );
}
if( Util_Should_Msg_Client_Alive( id ) )
{
if ( file_exists ( "sound/warcraft3/divineshield.wav" ) == 1 )
{
emit_sound ( id, CHAN_STATIC, "warcraft3/divineshield.wav", 1.0, ATTN_NORM, 0, PITCH_NORM );
}
}
ultimateused[id] = true;
icon_controller ( id );
}
return PLUGIN_HANDLED;
}