wildey Posted May 30, 2010 Share Posted May 30, 2010 Hi, I have two mods that I want to work together but I don't know anything about scripting to be able to do it.I use Simple Needs 4.5 (http://www.fallout3nexus.com/downloads/file.php?id=3769) by trebtreb and want to merge the playerbed script from it with the bed from Portable Camp (http://www.fallout3nexus.com/downloads/file.php?id=2356) by diernayr so that I get the sleep benefits of using a dropped cot. Here is the script from Simple Needs: scn PlayerBedSCRIPT short playerSleep begin OnActivate if isActionRef player == 1 ; set playerBed ref variable to me set playerSleep to 1 endif Activateend begin menumode ; player has activated me and is sleeping if playerSleep == 1 && IsPCSleeping == 1 set playerSleep to 2 endifend begin gamemode if playerSleep > 0 if playerSleep == 2 ; player has actually slept in this bed ; give player Well-Rested spell and then clear variable player.CastImmediateOnSelf WellRestedSpell ;======================================= if ( Player.IsSpellTarget SimpleNeedsSleep == 1 ) Player.RemoveSpell SimpleNeedsSleep ShowMessage SimpleNeedsFatigueOFFMESG EndIf Set SimpleNeedsSleepQuest.SleepVar to 100 set SimpleNeedsSleepQuest.LastSleepDay to GameDaysPassed ;======================================= endif ; clear variable set playerSleep to 0 endifend And here is the one from Portable Camp: scn aapsbedscript2 begin onactivate if player.issneaking == 1 player.additem "aapsbedbook" 1 disable markfordelete else activateendifend Any help would truly be welcome. I think that the Simple Needs script needs to be part of the Portable Camp script, but I'm not sure. Thank you in advance for your assistance. Link to comment Share on other sites More sharing options...
wildey Posted May 31, 2010 Author Share Posted May 31, 2010 -bump- Link to comment Share on other sites More sharing options...
wildey Posted June 2, 2010 Author Share Posted June 2, 2010 Really? No one can help me? Link to comment Share on other sites More sharing options...
Recommended Posts