Jump to content
  • 0

how connect Phyton->Quest



I need connect execute a quest from phyton. 
I am using:
import event

But I have a problem that is.. I don't have index of the quest I have a name.


the content of the quest is:

quest test begin
	state start begin
		when login begin
			set_state(open )
	state open begin
		when button begin
			chat("I am here!!")

when I used the index of the quest (1 because is in first row of locale_list) everything work fine. But... I think all the time index of the quest will not be 1. If for some reason the change of position on the list would not work. I tried to find the index of the quest with the name of it but I could not.


I tried using this:

import event
import quest

but does not work and get this error....

SYSERR: Jan 25 23:53:02 :: OnInfo: QUEST no quest by (quest 2147483647)

any ideas or help?

Link to comment
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

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