Jump to content
  • 0

[How To Add] Always show emotion npc


Question

Posted

Good Morning (Malaysia morning right now) rAthena

i wonder how possible to add emotion popup like this  (see attach picture) 

on my npc..?

thanks to all of you in advance

1.png

1-1.png

10 answers to this question

Recommended Posts

  • 0
Posted

This is not emotion it is npc icon triggered using showevent 

 

showevent <icon>{,<mark color>{,<char_id>}}

Show an emotion on top of a NPC, and optionally,
a colored mark in the mini-map like "viewpoint".
This is used to indicate that a NPC has a quest or an event to 
a certain player. 

Available Icons:

Remove Icon		: QTYPE_NONE
! Quest Icon	: QTYPE_QUEST
? Quest Icon	: QTYPE_QUEST2
! Job Icon		: QTYPE_JOB
? Job Icon		: QTYPE_JOB2
! Event Icon	: QTYPE_EVENT
? Event Icon	: QTYPE_EVENT2
Warg			: QTYPE_WARG
Warg Face		: QTYPE_WARG2 (Only for packetver >= 20120410)

Mark Color:
0 - No Mark
1 - Yellow Mark
2 - Green Mark
3 - Purple Mark

 

 

If you want to use emotion permanently on npc, use timer or freeloop

  • 0
Posted
29 minutes ago, hadie said:

Good Morning (Malaysia morning right now) rAthena

i wonder how possible to add emotion popup like this  (see attach picture) 

on my npc..?

thanks to all of you in advance

1.png

1-1.png

 

I would suggest read docs at rAthena.
 

Quote

*showevent <icon>{,<mark color>{,<char_id>}}

Show an emotion on top of a NPC, and optionally,
a colored mark in the mini-map like "viewpoint".
This is used to indicate that a NPC has a quest or an event to
a certain player.

Available Icons:

Remove Icon        : QTYPE_NONE
! Quest Icon    : QTYPE_QUEST
? Quest Icon    : QTYPE_QUEST2
! Job Icon        : QTYPE_JOB
? Job Icon        : QTYPE_JOB2
! Event Icon    : QTYPE_EVENT
? Event Icon    : QTYPE_EVENT2
Warg            : QTYPE_WARG
Warg Face        : QTYPE_WARG2 (Only for packetver >= 20120410)

Mark Color:
0 - No Mark
1 - Yellow Mark
2 - Green Mark
3 - Purple Mark

 

 

  • 0
Posted (edited)
31 minutes ago, Kaze said:

I would suggest read docs at rAthena.
 

 

Thanks @Kaze but can you give me specific script?

for example showevent QTYPE_JOB,0} like this?

what i want to put on char_id?

Edited by hadie
  • 0
Posted
44 minutes ago, Cyro said:

This is not emotion it is npc icon triggered using showevent 

 


showevent <icon>{,<mark color>{,<char_id>}}

Show an emotion on top of a NPC, and optionally,
a colored mark in the mini-map like "viewpoint".
This is used to indicate that a NPC has a quest or an event to 
a certain player. 

Available Icons:

Remove Icon		: QTYPE_NONE
! Quest Icon	: QTYPE_QUEST
? Quest Icon	: QTYPE_QUEST2
! Job Icon		: QTYPE_JOB
? Job Icon		: QTYPE_JOB2
! Event Icon	: QTYPE_EVENT
? Event Icon	: QTYPE_EVENT2
Warg			: QTYPE_WARG
Warg Face		: QTYPE_WARG2 (Only for packetver >= 20120410)

Mark Color:
0 - No Mark
1 - Yellow Mark
2 - Green Mark
3 - Purple Mark

 

 

If you want to use emotion permanently on npc, use timer or freeloop

thanks @Cyro

  • 0
Posted
45 minutes ago, Cyro said:

This is not emotion it is npc icon triggered using showevent 

 


showevent <icon>{,<mark color>{,<char_id>}}

Show an emotion on top of a NPC, and optionally,
a colored mark in the mini-map like "viewpoint".
This is used to indicate that a NPC has a quest or an event to 
a certain player. 

Available Icons:

Remove Icon		: QTYPE_NONE
! Quest Icon	: QTYPE_QUEST
? Quest Icon	: QTYPE_QUEST2
! Job Icon		: QTYPE_JOB
? Job Icon		: QTYPE_JOB2
! Event Icon	: QTYPE_EVENT
? Event Icon	: QTYPE_EVENT2
Warg			: QTYPE_WARG
Warg Face		: QTYPE_WARG2 (Only for packetver >= 20120410)

Mark Color:
0 - No Mark
1 - Yellow Mark
2 - Green Mark
3 - Purple Mark

 

 

If you want to use emotion permanently on npc, use timer or freeloop

can you give me example?

  • 0
Posted

i try like this but not work

 

izlude,100,100,4    script    Test    102,{
        mes("[Test]");
        mes("Hello World.");
        close();

    OnInit:
        showevent(QTYPE_QUEST, 0);
        end;
    }
 

  • 0
Posted
1 hour ago, Cyro said:

OnPCLoadMapEvent:

{

  showevent 4,2;

 

 

 

This one shows event icon with green colour 

this work for mark on mini map but npc not showing emotion quest popup

  • 0
Posted

@Cyro Are there more types of icons?

On 13/5/2017 at 9:46 PM, Cyro said:

This is not emotion it is npc icon triggered using showevent 

 


showevent <icon>{,<mark color>{,<char_id>}}

Show an emotion on top of a NPC, and optionally,
a colored mark in the mini-map like "viewpoint".
This is used to indicate that a NPC has a quest or an event to 
a certain player. 

Available Icons:

Remove Icon		: QTYPE_NONE
! Quest Icon	: QTYPE_QUEST
? Quest Icon	: QTYPE_QUEST2
! Job Icon		: QTYPE_JOB
? Job Icon		: QTYPE_JOB2
! Event Icon	: QTYPE_EVENT
? Event Icon	: QTYPE_EVENT2
Warg			: QTYPE_WARG
Warg Face		: QTYPE_WARG2 (Only for packetver >= 20120410)

Mark Color:
0 - No Mark
1 - Yellow Mark
2 - Green Mark
3 - Purple Mark

 

 

If you want to use emotion permanently on npc, use timer or freeloop

 

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.   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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...