Jump to content

lua quest problem (with / and)


Recommended Posts

Hello, I need to make a quest that begins when you reach level 10+ and you have already choose your skill path

I tried something like this but it's not working, how can i make it with both pc.get_level and pc.get_skill_group() ? Thank you

quest new_test_lv10 begin
    state start begin

        when login or levelup with pc.get_level() >= 10 and pc.get_skill_group() > 0 begin

EDIT: i was missing an "end" for the state, everything with pc.get_level() >= 10 and pc.get_skill_group() > 0 is okay...

Edited by Cripplez
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Premium

Post the whole quest. 

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.