Jump to content

Mod script stopped running without an evident reason?


Uoud

Recommended Posts

Hi all.

Recently, I've been having a problem with my mods and it seems I'm not able to fix it, thus I'm asking for your help;

I didn't find any similar thread in the forum, so if there actually is... I'm sorry, and ask if you may post a link to it, please.

 

Alright, the problem is this: in the mods Undies Underneath and Practice Makes Perfect, at some point and without an apparent reason the game simply and permanently stops processing one (or more) of the scripts.

 

In Undies Underneath, for example, if I loot everything from a dead character except for the underwear, go back to the game and then loot that underwear too, the script that manages the model switch simply stops running after the second time I do this (I can say so because it stops working also in every other instance it manages, and because no matter how I change it or what I "tell" it to do it simply won't do it).

 

Another curious thing is that this problem seems specific to Fallout New Vegas, as in the Fallout 3 version of these mods (which is very similar to the New Vegas one) it never occurs.

 

Also, I think it to be unrelated to NVSE, as the portion of the frozen script in Undies Underneath that caused the bug didn't use its functions: (it is an Object Script attached to the item uutoken, which should be removed from the actor's inventory whenever aaaUUUndies is not there too; these two items are both needed to create the illusion of an extra equip slot for the underwear)

 

ref	uuactor

Begin GameMode
set uuactor to GetContainer

if uuactor.getequipped aaaUUUndies == 0
	if uuactor == player
		uuactor.removeitem uutoken 9 1
	elseif uuactor != player
		if ( uuactor.GetDead != 0 && uuactor.getitemcount aaaUUUndies == 0 )
			uuactor.removeitem uutoken 9 1
		elseif ( uuactor.GetDead != 0 && uuactor.getitemcount aaaUUUndies != 0 )
			uuactor.equipitem aaaUUUndies 0 1
		endif
	endif
endif
end

 

Any help, please?

Edited by Uoud
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...