Targetted GetCurrentAiPackage returns 0
I couldn't sell Corky to Drulene Falen. http://www.uesp.net/wiki/Morrowind:Corky Her script checks if Corky is following you using @if ( "guar_llovyn_unique"->GetCurrentAiPackage == 3 )@ and allows you to sell him if he is.
Clicking Corky in the console and calling @GetCurrentAiPackage@ correctly returned 3, calling @"guar_llovyn_unique"->GetCurrentAiPackage@ returned 0. I also tried @"guar_llovyn_unique"->GetDistance player@ which returned ~170 so OpenMW was definitely finding the right guar.
I'm using Ace's nightly 0.40.0 17455821.
(RM-3583 from redmine: created on 2016-10-06 by Evil Eye, , closed on 2016-10-06 by scrawl .)
Edited by redmine