Brokem Scripts
Re: Brokem Scripts
Yes, I figured that much. The question is what MW does with this broken script.
Re: Brokem Scripts
Zini wrote:The question is what MW does with this broken script.
Re: Brokem Scripts
Well, MW seems to ignore that part and continue executing the script. I've tested this in-game with my own script.Zini wrote:Yes, I figured that much. The question is what MW does with this broken script.
Re: Brokem Scripts
Okay. Thanks. That has been taken care of.
-
- Posts: 180
- Joined: 14 Jan 2013, 03:57
Re: Brokem Scripts
Funny, I always was amazed about that - it's seems to be held together with duck tape and bubblegum where bugs have become features...Zini wrote:I m starting to wonder how Morrowind.esm can work at all.
Great job tackling this mess! Thank you!
Re: Brokem Scripts
Zini wrote:The script language generally does not allow multiple instructions in the same line.Code: Select all
else set MatchMakeGoval to 8
Code: Select all
Short test
If ( OnActivate == 1 )
set test to 1
if ( test == 2 )
set test to 3
else set test to 4
MessageBox "first %G", test
endif
MessageBox "second %G", test
endif
Re: Brokem Scripts
A particularly bad one: sotha_alma
Please someone tell me that this isn't working in MW either. Because right now I don't know how to make that compile without breaking other stuff.
Please someone tell me that this isn't working in MW either. Because right now I don't know how to make that compile without breaking other stuff.
Re: Brokem Scripts
What's wrong with sotha_alma? The script compiles without errors, is definitely used in the game at the end of Tribunal's main quest line, and seems to work just fine.
Re: Brokem Scripts
This line:
?
Code: Select all
else ( state == 100 )