Jump to content
  • 0

Easy questions for you! :)


Question

Posted

Hi there, I'm new to scripting here. I was browsing the Downloads section, and I found a script (+10 sure refiner), and by reading it, I didn't understand what the first line meant.

hyrule,123,68,5    script    Refiner    909,{

Could you explain? Thanks.

6 answers to this question

Recommended Posts

Posted

hyrule = the Map name,where the NPC is placed on.

123 = the X-Coordinate,where the NPC is going to appear (on the Map Hyrule)

68 = the Y-coordinate,where the NPC is going to appear (on the Map Hyrule)

5 = the Direction of the NPC,that means,where he is looking at ( Check out the Wiki for more information about this ).

script = meanst,that it's a NPC Script,it means,it's no shop,it's no cashshop,it's a script

Refiner = the NPC name,the name which is going to appear if you Hover the NPC

909,{ = 909 is the Npc Sprite of the Npc and the ,{ means that the script starts now.

Check out the rAthena Wiki for more information about Scripting.

http://www.rathena.org/wiki

Posted

Yep // <- Commented out code so you can write descriptive statements for the programmers side and possibily the user's side for areas of interest such as configuration parameter variables, script information, etc.

Posted (edited)

Thanks!

Also, is there a way to have an NPC play an animation with sound, or something like that? On the server I was playing, when you were to refine an item, the NPC played a sound with an animation above him. How do I do that?

EDIT:

I found what I was searching for, but I need a list of effect IDs. Is there any?

Edited by megablox
Posted

Thanks!

Also, is there a way to have an NPC play an animation with sound, or something like that? On the server I was playing, when you were to refine an item, the NPC played a sound with an animation above him. How do I do that?

When you refine, with a command or with a NPC Script, it will always have the sound and the little animation above.

About the effect list, I'm sure it's somewhere but I can't find it now ( my computer broke down so I'm using another without my Ro files ) D: But I will update If I find it.

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