Scripts

baladasCenturion

Morrowind.esm
Variables 1
Local Variables
state
Source
1Begin baladasCenturion 2 3;makes the centurion pop out of Arvs Drelen 4;because of Velothi collision issues 5 6short state 7 8if ( state == -1 ) 9 ;we've already popped to the new cell... 10 return 11endif 12 13if ( GetDeadCount "centurion_shock_baladas" > 0 ) 14 ;if we are dead, stop 15 return 16endif 17 18if ( GetJournalIndex HT_DahrkMezalf < 10 ) 19 ;if quest has not yet started, stop 20 return 21endif 22 23if ( CellChanged == 0 ) 24 ;only pop on cellchange 25 return 26endif 27 28if ( GetJournalIndex HT_DahrkMezalf < 100 ) 29 PositionCell -87017 95351 1226 283 "Gnisis" 30 Disable 31endif 32 33if ( GetJournalIndex HT_DahrkMezalf >= 100 ) 34 AiFollow Player 0 0 0 0 35 Set state to -1 36 Enable 37endif 38 39 40End