Scripts

TR_m3_NPC_OE_Ruma

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
greetOnce
T_Local_NPC
T_Local_NoLore
NoLore
Source
1Begin TR_m3_NPC_OE_Ruma 2 3; Script on NPC "TR_m3_Ruma Soanix" for quest TR_m3_TG_Fentus3b. 4 5short TR_Map 6short control 7short controlQ 8short greetOnce 9short T_Local_NPC 10short T_Local_NoLore 11short NoLore 12;global TR_m3_OE_RumaGlobal ;0 = neutral, 1 = player is accepted to Ruma's party, 2 = player is not welcome at the party 13 14if ( OnDeath ) 15 set TR_m3_OE_RumaDead to 1 16endif 17 18if ( GetJournalIndex "TR_m3_TG_Fentus3b" == 10 ) 19 if ( controlQ == 0 ) 20 startscript TR_m3_OE_RumaLeaveSCP 21 PositionCell 313 6520 15184 0 "Old Ebonheart, Soanix Manor" 22 AiWander 0 0 0 0 0 0 0 0 0 0 0 0 23 set TR_Map to 3 24 set T_Local_NoLore to 0 25 set controlQ to 1 26 endif 27endif 28 29if ( GetJournalIndex "TR_m3_TG_Fentus3b" >= 100 ) 30 if ( controlQ == 1 ) 31 PositionCell 411 6524 15184 0 "Old Ebonheart, Soanix Manor" 32 AiWander 0 0 0 0 0 0 0 0 0 0 0 0 33 set T_Local_NoLore to 1 34 set controlQ to 2 35 endif 36endif 37 38if ( TR_Map == 3 ) 39 return 40endif 41 42set TR_Map to 3 43set T_Local_NoLore to 1 44 45End