You didn't follow the whole example. You didn't expose anything to Perl.
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.
|