Jump to content

Recommended Posts

Posted

Hello how are you?. I'm trying to make it show on the classic screen when you gain experience or when someone heals you HP, I don't know if I'm in the right part. Can someone help me by providing some information on how I should do it please?
Thanks a lot

 

I think that the method that i need to edit is AttaCkForDamage ->

 

function OnEvent (int a_EventID, string a_Param)
{

	switch (a_EventID)
	{
		case EV_UpdateUserInfo:
			if	(my_ID <= 0) my_ID = class'UIDATA_PLAYER'.static.GetPlayerID();
			reflectFilter = 5 + int(txt_Level.GetText());
			break;
		case EV_SystemMessage:
			if (showOSD) HandleSystemMessage(a_Param);
			break;	
		case EV_ReceiveAttack:
			if (showOSD) AttackForDmg(a_Param);
			break;	
		case EV_ReceiveMagicSkillUse:
			if (showOSD) SkillCastForDmg(a_Param);
			break;				
	}
}

 

It is correct? does anyon an idea?. 

 

This methos is configures like this _>

 


function AttackForDmg(string a_Param)
{
	local int AttackerID;

	ParseInt(a_Param,"AttackerID",AttackerID);	

	if (my_ID != AttackerID) return;
	else isAttackingDmg = true;	
}

 

I'm using HandleSystemMessageId when your player hits other, and shows Missed por Blocked.

 

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...