Scripts

TR_m7_SM_sm_retort_disable

TR_Mainland.esm
Variables 1
Local Variables
doOnce
Source
1Begin TR_m7_SM_sm_retort_disable 2 3short doOnce 4 5if ( TR_m7_SM_RetortFound == 0 ) 6 if ( GetDisabled == 0 ) 7 disable 8 endif 9 return 10elseif ( doOnce == 1 ) 11; SetDelete 1 12 return 13elseif ( GetDisabled ) 14 enable 15endif 16 17if ( OnActivate ) 18 player->additem apparatus_sm_retort_01 1 19 PlaySound "Item Apparatus Up" 20 if ( GetDeadCount "TR_m7_Galas Moran" == 0 ) 21 "TR_m7_Galas Moran"->setfight 85 22 set "TR_m7_Galas Moran".controlQ to 1 23 endif 24 set doOnce to 1 25 Disable 26endif 27 28End