Scripts

TR_m3_BthungCentArc_sc

TR_Mainland.esm
Variables 1
Local Variables
isdead
Source
1Begin TR_m3_BthungCentArc_sc 2 3short isdead 4 5if ( MenuMode ) 6 return 7endif 8 9if ( isdead == 1 ) 10 return 11endif 12 13;when killed, adds 1 darts to inventory for player to find. so player finds 1 plus whatever is left 14If ( OnDeath ) 15 additem "TR_m3_Bthung_Dart" 1 16 set isdead to 1 17endif 18 19If ( GetItemCount "TR_m3_Bthung_Dart" < 2 ) 20 additem "TR_m3_Bthung_Dart" 2 21endif 22 23End