7.4, 7.5 and 7.6 happen at random...any one of these can occur but the outcome is always 7.7 - I just can't get 7.7 to function.
Any ideas? This script is pretty long...but I haven't had any trouble with it up until I added this segment of code.
If ( Part == 7.3 ) If Timer < 2 Set Timer to Timer + GetSecondsPassed Else Message "Adding Package." NpcTarget.Cast ArbPracticeSpell3 NpcTarget Set Timer to 0 Set Part to 7.4EndifEndifIf ( Part == 7.4 && ScampDead == 1)Messagebox "Student: Wow, that was close!", "Yes it was, but you did well. Go and practice now."NpcTarget.AddScriptPackage ArbLeavePackageSet ScampDead to 0Set Part to 7.7 EndifIf ( Part == 7.5 )If Timer < 5Set Timer to Timer + GetSecondsPassedElseMessagebox "Student: Well this is embarassing.", "Errm...we'll that was unexpected. Go and purchase yourself some new clothes."NpcTarget.AddScriptPackage ArbLeavePackageThiefScamp.DisableSet Timer to 0Set ArbScampSteal.Stop to 0Set Part to 7.7 EndifEndifIf ( Part == 7.6 )Messagebox "Well, I think I understand that perfectly.", "Impressive! Practice what you've learned and return to me when your ready!."Set ScampDead to 0NpcTarget.AddScriptPackage ArbLeavePackageSet Part to 7.7EndifIf Part == 7.7If Timer1 < 5 Set Timer1 to Timer1 + GetSecondsPassedMessage "7.7 Active"ElseNpcTarget.RemoveScriptPackage ArbLeavePackageNpcTarget.DisableMessage "Setting to 7.8."Set Part to 7.8EndifEndif