Scripts

ColonyUnel

Bloodmoon.esm
Variables 1
Local Variables
nolore
Source
1Begin ColonyUnel 2 3;controls enabling of Unel Lloran for quest CO_10, and his behavior throughout the quest. 4 5 6short nolore 7 8 9if ( GetJournalIndex "CO_10" < 10 ) 10 if ( GetDisabled == 0 ) 11 Disable 12 endif 13endif 14 15if ( GetJournalIndex "CO_10" >= 10 ) 16 if ( GetDisabled == 1 ) 17 Enable 18 endif 19endif 20 21 22 23 24if ( GetJournalIndex "CO_10" == 60 ) 25 if ( GetCurrentAiPackage == 3 ) 26 if ( GetDistance "act_ex_colony_root_4" <= 1000 ) 27 Journal CO_10 70 28 AiWander 0 0 0 0 0 0 29 ForceGreeting 30 endif 31 endif 32endif 33 34End ColonyUnel