Scripts

TR_m1_q_CartilScript

TR_Mainland.esm
Variables 6
Local Variables
ExpelCartil
doonce
nolore
TR_map
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m1_q_CartilScript 2 3; script on NPC TR_m1_q_Cartil_Florius for quest TR_m1_HT_Mi1. 4 5short ExpelCartil 6short doonce 7short nolore 8short TR_map 9short T_Local_NPC 10short T_Local_NoLore 11 12If ( GetDisabled == 0 ) 13 If ( GetJournalIndex TR_m1_HT_Mi1 < 10 ) 14 Disable 15 Return 16 Endif 17Endif 18 19If ( GetJournalIndex TR_m1_HT_Mi1 >= 10 ) 20 If ( doonce == 0 ) 21 set doonce to 1 22 Set TR_map to 1 23 Enable 24 Endif 25Endif 26 27If ( ExpelCartil == 1 ) 28 Disable 29 Set ExpelCartil to -1 30Endif 31 32If ( ExpelCartil == 2 ) 33 PositionCell 3522, 4393, 267, 10800 "Nivalis, The Black Ogre Tavern" ;TR_m1_MARK_Cartil 34 AiWander 0 0 0 0 0 0 0 0 0 0 0 0 35 RemoveItem "common_robe_02_tt" 1 36 AddItem "common_robe_04" 1 37 Set ExpelCartil to -2 38Endif 39 40End