ESM Breaks Scripts?

Post » Sat Jan 24, 2015 7:02 am

The following script works in ESP but not ESM. What could be the reason for this?

scn KCPBTrooper2Script;--------------------------------------------------------------------------------------------------; Adds items to Trooper2 first aid; Adds items to Trooper2 metal boxshort bDoOncebegin OnLoad	if GetDead == 1		if KCPrimmNCRTrooper5REF.GetDead == 1			KCPrimmNCRTrooper5BackupREF.Enable		endif		disable	endif	if bDoOnce == 0		KCPrimmNCRTrooper2Stash.additem Whiskey 2		KCPrimmNCRTrooper2Stash.additem Morphine 1		KCPrimmNCRTrooper2Supplies.additem SurgicalTubing 2		set bDoOnce to 1	endifend;--------------------------------------------------------------------------------------------------

The items are not placed in the containers, IF my mod is ESM. It works fine as ESP.

User avatar
Sara Lee
 
Posts: 3448
Joined: Mon Sep 25, 2006 1:40 pm

Return to Fallout: New Vegas