Scripts

BILL_FG_Larienna_Macrina

Morrowind.esm
Variables 4
Local Variables
healCompanion
healCount
questOver
noLore
Source
1begin BILL_FG_Larienna_Macrina 2; adventuring behaveour for Larienna 3 4; script location: should be placed on Larienna Macrina and used to augment 5; her behaveour for joint adventuring with the Player during quest FG_Nchurdamz 6 7;fixed in various ways 03/20 8 9short healCompanion ; gets set in dialogue topic 'require aid' 10short healCount ;makes you not get healed over and over 11short questOver ; gets set in script 'BILL_FG_Hrelvesuu' when the beast dies 12short noLore 13 14if ( MenuMode == 1 ) 15 return 16endif 17 18if ( GetHealth <= 0 ) 19 return 20endif 21 22if ( healCompanion == 1 ) 23 Cast "heal companion" Player 24 set healCount to ( healCount + 1 ) 25 set healCompanion to 0 26endif 27 28if ( OnDeath == 1 ) 29 ; when we are killed... 30 if ( GetJournalIndex "FG_Nchurdamz" > 0 ) 31 ; ... and if the player is on the quest to protect us... 32 Journal "FG_Nchurdamz" 60 ; blew it 33 endif 34endif 35 36if ( questOver == 1 ) 37 Say "Vo\Misc\bill_lariennaend.wav", "Larienna: 'Hrelvesuu is vanquished, yet somehow I feel uneasy. I must investigate these ruins further. You have been a worthy companion. Farewell my friend.'" 38 AIWander 0 0 0 20 20 10 10 0 0 0 40 0 39 set questOver to 0 40endif 41 42 43end BILL_FG_Larienna_Macrina