Scripts

TR_m2_WindbreakerSmugglerScript

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
T_Local_NPC
T_Local_Nolore
NoLore
doonce
Source
1Begin TR_m2_WindbreakerSmugglerScript 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short T_Local_Nolore 8short NoLore 9short doonce 10 11if ( TR_Map == 0 ) 12 set TR_Map to 2 13endif 14 15if ( doonce == 0 ) 16 if ( GetAttacked == 1 ) 17 TR_m2_Demaric_Derroltan->SetFight 100 18 TR_m2_Demaric_Derroltan->Startcombat, Player 19 TR_m2_Gertrine_Divelle->SetFight 100 20 TR_m2_Gertrine_Divelle->Startcombat, Player 21 TR_m2_Jerulf_GoldHound->SetFight 100 22 TR_m2_Jerulf_GoldHound->Startcombat, Player 23 TR_m2_Terythu_Ladrys->SetFight 100 24 TR_m2_Terythu_Ladrys->Startcombat, Player 25 set TR_m1_FW_IC3_GreetAct.control to 1 26 set doonce to 1 27 endif 28endif 29 30if ( Ondeath == 1 ) 31 set TR_m2_WindbreakerSmugglerDead to ( TR_m2_WindbreakerSmugglerDead + 1 ) 32endif 33 34End