Scripts

TR_m4_TG_ThoriclesAxe2_scp

TR_Mainland.esm
Variables 1
Local Variables
disableOnce
Source
1begin TR_m4_TG_ThoriclesAxe2_scp 2 3short disableOnce 4;global TR_m4_TG_AndoShei6Global 5;global TR_m4_TG_ThoriclesCheck 6 7if ( disableOnce == 0 ) 8 disable 9 set disableOnce to 1 10endif 11 12if ( TR_m4_TG_AndoShei6Global >= 1 ) 13 if ( TR_m4_TG_ThoriclesCheck == 0 ) ;player hasn't stolen the axe back 14 if ( GetDisabled == 1 ) 15 if ( disableOnce < 2 ) 16 enable 17 set disableOnce to 2 18 endif 19 endif 20 endif 21endif 22 23if ( OnActivate == 1 ) 24 PlaySound "Item Weapon Blunt Up" 25 player->additem "T_Imp_UNI_ThoriclesAxe" 1 26 disable 27endif 28 29end