Jump to content
  • 0

About OnPCBaseLvUpEvent


AwesomePosom

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   1
  • Joined:  01/07/12
  • Last Seen:  

Are there any special configuration to use the OnPCBaseLvUpEvent?

Here is my sample work:

[quote

]OnPCBaseLvUpEvent:

@modulo = BaseLevel % 10;

if(@modulo == 0)

{

mes "Divisible by 10";

close;

}

Coz, when I try to run this script, nothing happens. No error message on the console either.

Edited by brainnysmurfs
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

it will only trigger the event when your character level up .....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   1
  • Joined:  01/07/12
  • Last Seen:  

Yes, I did try that but still no message appears.

Is there anything I need to set in mapflag or script_athena.conf?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  219
  • Topics Per Day:  0.05
  • Content Count:  1181
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Can you give the actual script that you tried to use it in so I can look at that? I use OnPCBaseLvUpEvent without any issues on my server.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   1
  • Joined:  01/07/12
  • Last Seen:  

My bad, I assume that the @blevel will trigger the OnPCBaseLvUpEvent.

Anyway I already tested it on a real level up from a monster, and it works just fine. :D

Thanks!

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