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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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