Jump to content
  • 0

How to make summon monster talk


xienne15

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   11
  • Joined:  01/09/12
  • Last Seen:  

    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?

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  88
  • Reputation:   23
  • Joined:  01/30/12
  • Last Seen:  

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
Link to comment
Share on other sites

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.

×
×
  • Create New...