Scripts

TR_m3_TT_InquisitorMantleScript

TR_Mainland.esm
Variables 2
Local Variables
OnPCEquip
OnPC
Source
1begin TR_m3_TT_InquisitorMantleScript 2 3short OnPCEquip 4short OnPC ;this is needed since this script also runs on the armor pieces the NPC wears 5;global TR_m3_TT_InqMantle 6 7if ( OnPCEquip == 1 ) 8 set TR_m3_TT_InqMantle to 1 9 set OnPC to 1 10endif 11 12;this one has been equipped by PC ast some point, so check for it being unequipped 13 14if ( OnPC == 1 ) 15 16 ;oops, now he took it off 17 if ( OnPCEquip == 0 ) 18 set TR_m3_TT_InqMantle to 0 19 set OnPC to 0 ;start looking again if he has it on 20 endif 21 22endif 23 24end