[RESOLVED] Script Troubleshooting SCRIPTS.LST file

Robert B

Kitty's got some rads!
Hey everyone, I found this old post by @Lexx and realized I was having the exact same problem...

Script Troubleshooting
Here is another one, folks. I need brainstorming.

Trying to add a new script. In the mapper the script appears twice and the script also doesn't work. Obvious conclusion: Something is fucked up.

I can't figure out what exactly. Scripts.lst only has one entry and it has a correct newline at the end. Scrname.msg also is ok, though even if I don't add any entry there, the script appears twice in the mapper.

What is it I have overlooked? I feel like doing this for the very first time ever...

/edit: Ok, whatever that was, I fixed it. Removed all traces of the script, then - instead of the Sfall script editor - I used FSE to register the script. After that everything worked as usual...
Last edited by Lexx; 07-01-2015 at 10:31 PM.

In addition to the symptom of seeing a duplicate script when you go into the BIS Mapper, you can also have the problem when assigning a script, it actually enters a different one. Meaning I select script ACKLINT.INT for a critter, but what it puts in the script field is a completely different one from elsewhere in the list.

Well, in troubleshooting the issue for myself; I think I found the root cause of the problem. You can't have an extra (blank) line at the end of the file. When I deleted the extra line shown in the first code snipet, the duplicate script and assignment problems were resolved.

BROKEN
Code:
Unasign.int     ; Placeholder toon script                   # local_vars=0
0smell.int      ; Bathroom Smell Script                     # local_vars=0
leavV13.int     ; Float msg while leaving v13 entrance      # local_vars=1
[Blank Line]

FIXED
Code:
Unasign.int     ; Placeholder toon script                   # local_vars=0
0smell.int      ; Bathroom Smell Script                     # local_vars=0
leavV13.int     ; Float msg while leaving v13 entrance      # local_vars=1

Anyway, all of you may all already know this... ...but as I didn't find the answer in the forums, I wanted to share it.
 
Last edited:
I started typing out the script manually instead of looking it up in the list already a long time ago. It's quicker than scrolling through that list anyway, and you're sure to add the correct script to the critter.

The blank line at the end is very weird, once again, because everything else in this game needs a blank line at the end. I did not know this, but I also never experienced the duplicated scripts thing again (probably because I never look up the list anymore).
 
Agreed. It's just strange. ...and I'll take your advice about typing the script entry. It sounds like a great shortcut. :D
 
Back
Top