Script throwing errors to dialog boxes

Type: 

Bug

Severity: 

Major

Game version: 

Morrowind

Concerns: 

TR_Mainland

Found in Version: 

Status: 

Item/Script Reference:

Identifier: 

T_ScNpc_Mw_NecromOrd

Name: 

Ordinator in Mourning

Description: 

Sun, 2021-04-04 16:56

I went to Necrom, into console, for Ordinator00000001 sethealth 0, he died. I looted and wore his armor and clicked another Ordinator.

  Script T_ScNpc_Mw_NecromOrd   Trying to RunFunction index greater than function count. The script will not run anymore. Continue running the executable? [yes] [no} 

I clicked yes, he said

  Where did you get that! The armor you wear is @sacred# to our Order.  You @shal#l be punished with blood!  Goodbye.

Another error message in a dialog box appeared.

  Compile and Run problem was found in Greeting "Greeting 0" 

At which point I chose to abort the Morrowind program.

Just thought I'd give someone a headache for the next hot fix  ;)

UESP editor Kalevala,

Comments

That error message comes

Rot's picture

That error message comes whenever voice lines with any results are triggered during dialogue, probably their special attack voice. They should already have something in their script and voice conditions to prevent that but I guess that's a newly added line or a vanilla line missing a duplicate (to disable those voices before starting combat)

That safeguard relies on

Evil Eye's picture

That safeguard relies on MenuMode to detect dialogue. Problem being that the result script in a Greeting runs before MenuMode is 1, any Attack lines triggered by a StartCombat in said Greeting will also be executed "outside" of MenuMode.

Having said that, I haven't been able to construct a test case that reliably reproduces this issue. (It does still happen, mind.)