Scripts

TR_m7_Ns_ArenaToDeath_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
nolore
control
controlq
T_Local_NPC
T_Local_NoLore
Source
1begin TR_m7_Ns_ArenaToDeath_sc 2 3short TR_Map 4short nolore 5short control 6short controlq 7short T_Local_NPC 8short T_Local_NoLore 9 10if ( TR_Map != 7 ) 11 set TR_Map to 7 12endif 13 14if ( getpccell "Narsis, Arena: Pit" == 0 ) 15 return 16endif 17 18if ( ondeath ) 19 if ( TR_m7_Ns_ArenaDuelBegun >= 1 ) 20 set TR_m7_Ns_ArenaDuelBegun to 0 21 endif 22 Set TR_m7_Ns_ArenaDuelActive to 0 23 Set TR_m7_Ns_ArenaDuelManager.duelwon to 1 24 Set TR_m7_Eralgor.DuelWon to 1 25 set controlq to 1 26 TR_m7_Eralgor->ForceGreeting 27 return 28endif 29 30if ( controlq == 1 ) 31 if ( onactivate ) 32 messagebox "You cannot loot the corpse of your fallen opponent!" 33 endif 34endif 35 36end