Jump to content
  • 0

How to make summon monster talk


Question

Posted
    mes "[ArchBishop]";
    mes "Goodbye~";
    close2;
    sleep2 5000;
    specialeffect2 897;
    sleep2 5000;
    summon "Apple Jack",2502,3000, strnpcinfo(0) +"::On"+ getcharid(0);
    end;
 
 

How can i make Apple Jack talk when he is summoned by the npc?

 

1 answer to this question

Recommended Posts

Posted (edited)

I think that you can do this with unittalk:

 

*unittalk <GID>,"<text>";
This command will make a <GID> say a message.

 

But you'll need to get the monster GID. I don't know if this feature are currently coded in the src.

If not, try add as described in: http://rathena.org/wiki/Get_monster_gid and recompile your src.

 

So, after you've add that snippet into the src, is easy to control the monster:

 

Pseudocode:

 

set .@MobID, monster("map", x, y, name, class, 1);
unittalk .@MobID, "I'm a monster :)";
Edited by Digos

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