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.

 

 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..