I just commited revision 470. This includes new quest status functions, new target_Object function, and target_NPC and merchant now use memory addresses.
Because some of the changes may cause some of your "eggs" scripts not to work properly, I've attached my 'Eggs' script which makes use of the new functions.
I'll update the romwiki soon.
Enjoy.
ps. Don't forget to copy the new ingamefunctions folder to your rom addons folder.
** YOU MUST READ THIS **
FOR THIS FILE TO WORK YOU MUST COMPLETE ALL THESE STEPS;
1. UPDATE YOUR BOT TO REVISION 470 OR BETTER.
2. ONLY AFTER YOU HAVE UPDATED THE BOT, COPY THE INGAMEFUNCTIONS FOLDER TO THE GAME ADDON FOLDER. DON'T SKIP THIS STEP BECAUSE THE 470 VERSION OF INGAMEFUNCTIONS IS DIFFERENT THAT THE 469 VERSION.
3. RESTART THE GAME OR TYPE '/script ReloadUI()' TO RELOAD THE UI AND ADDONS.
4. IF YOU DON'T USE THE ENGLISH VERSION OF THE GAME THEN CHANGE LINE 3 OF THIS FILE TO MATCH THE NAME OF THE CHICKEN QUEST IN YOUR LANGUAGE. EG. FOR GERMAN I THINK IT IS
Code: Select all
queststate = getQuestStatus("Eine einfache Aufgabe?")
Then it should work