Jump to content
  • 0
Black Box

Doubt in creating a Label.

Question

I implemented a label as in the example below:

 

https://github.com/MrKeiKun/Hercules/commit/a7280f7e1e1f3f78288d60df0fd7b77748c63fc7

 

The aim was to display a message when the character is attacking.

 

Ps: It works, but is only displayed when the target dies.

 

How can I make her be exbida when the char attacking or when selecting the target?

 

 

The call of label is implemented here:

 

clif.c:

 

 

if( battle_config.idletime_criteria & BCIDLE_ATTACK )      npc->script_event(sd, NPCE_ATTACK); //Here   sd->idletime = sockt->last_tick;   unit->attack(&sd->bl, target_id, action_type != 0);
Edited by Jolteo

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.