Scripts

T_ScCrea_Oathbound

Tamriel_Data.esm
Variables 1
Local Variables
removeOnce
Source
1Begin T_ScCrea_Oathbound 2 3; This script removes wthe spectral equipment from an Oathbound enemy so that the player cannot acquire it 4 5short removeOnce 6 7if ( OnDeath == 1 ) 8 if ( removeOnce == 0 ) 9 RemoveItem, "T_Imp_Oathbound_Broadsword_01", 1 10 RemoveItem, "T_Imp_Oathbound_Javelin_01", 999 11 RemoveItem, "T_Imp_Oathbound_Mace_01", 1 12 RemoveItem, "T_Imp_Oathbound_Shortsword_01", 1 13 RemoveItem, "T_Imp_Oathbound_Spear_01", 1 14 RemoveItem, "T_Imp_Oathbound_Shield_01", 1 15 set removeOnce to 1 16 endif 17endif 18 19if ( OnActivate == 1 ) 20 if ( removeOnce == 0 ) 21 if (GetHealth <= 1 ) 22 RemoveItem, "T_Imp_Oathbound_Broadsword_01", 1 23 RemoveItem, "T_Imp_Oathbound_Javelin_01", 999 24 RemoveItem, "T_Imp_Oathbound_Mace_01", 1 25 RemoveItem, "T_Imp_Oathbound_Shortsword_01", 1 26 RemoveItem, "T_Imp_Oathbound_Spear_01", 1 27 RemoveItem, "T_Imp_Oathbound_Shield_01", 1 28 set removeOnce to 1 29 endif 30 endif 31 Activate 32endif 33 34End T_ScCrea_Oathbound