Quote:
Originally Posted by lerxst2112
You didn't follow the whole example. You didn't expose anything to Perl.
|
Yup you're right, I get it now.
Quote:
Originally Posted by lerxst2112
You'll want to find another function that has no arguments and returns nothing to copy. quest::repopzone is one.
If you search for "repopzone" you should find all you need. You need to add a function to QuestManager as you've already done, add the function that perl will call in perlparser.cpp, and add the line that lets perl know the function is available in the boot_quest function in perlparser.cpp.
|
Thanks again lerxst. I got it. Was having a hard time seeing it all that first time. It is exposing the function to Perl now, but unfortunately something isn't quite working right. I'll keep working with it.