Detect increase in faction rep

Post » Tue Apr 14, 2015 3:55 am

This script CTDs every time I apply it. I want to make sure that once the script is run, any gain in faction reputation for the Temple would expel the player from the other temple.

begin CoB_RT_warning scriptshort CoB_warningshort CoB_warningTTshort CoB_temprepIf( GetJournalIndex RT_Warning == 20 )If( CoB_warning == 0 )set CoB_temprep to CoB_temprep + (GetPCFacRep Temple) ;stores your faction rep with the Templeset CoB_warning to 1endif         endifIf( CoB_warning == 1 )If( CoB_temprep > (GetPCFacRep Temple))Journal RT_Warning 100PCExpell "Redchurch Temple""CoB_Masha"->SetFight 100"CoB_Masha"->SetDisposition 0set CoB_warning to 2endif         endifend

Any help would be appreciated :)

User avatar
Janette Segura
 
Posts: 3512
Joined: Wed Aug 22, 2007 12:36 am

Return to III - Morrowind