Jump to content
  • 0

NPC script command help.


Question

Posted (edited)

Hey :wub:

So I'm trying to figure out what this line of the script means....Can anyone help me on this?

I need it because im trying to add another headgear to this script but im having a little trouble figuring out what its doing.

It's from the socket_enchant.txt

It goes like this :


mes "[seiyablem]";
mes "Ooh, A Class.";
mes "This is some high risk territory!";
mes "Alright, which weapon would you like me to try adding a Slot?";
next;
switch(select("Hunter Bow:Survivor's Rod(INT):Zweihander:Flamberge:Infiltrator:Ballista:Stunner:Berserk:Claymore"))
{
            case 1: callfunc "Func_Socket",1718,1726,40,61,500,984,2,999,10;

Can anyone explain what those numbers means after "Func_Socket",

AND if anyone can help me please add a certain headgear to the list....The numbers are confusing as hell -_-

Thanks,

~Ino

Edited by Inochi

1 answer to this question

Recommended Posts

Posted

Yeah, this is a bit unnecessarily confusing~ But you'll always find the information you need by reading the function itself.

The arguments, in order:

<required ID>,<output ID>,<success if rand(1,100) is above this number>,<success if rand(1,100) is below this number>,<Zeny x 1000>,<required ID>,<required ID amount>,<required ID 2, optional>,<required ID 2 amount, optional>

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