Doubt in creating a Label.

Black Box

New member
Messages
42
Points
0
Location
In a distant land.
Emulator
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:

Code:
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);
 
Last edited by a moderator:
Back
Top