jet4571 Posted August 2, 2014 Share Posted August 2, 2014 (edited) I am making a dance club the player purchases that also includes a player home. It costs 10,000 caps to purchase the place. It is a business and I want the player to be able to make caps off it weekly. Either by the main bartender giving the weekly take to the player or from a container someplace in the cell. But I don't want the container to respawn weekly, If the player doesn't touch it for 3 weeks I want all 3 weeks worth of caps inside of it. What would be the script to add to a container? The mod I am working on: http://www.nexusmods.com/newvegas/mods/56577/? Edited August 2, 2014 by jet4571 Link to comment Share on other sites More sharing options...
jet4571 Posted August 4, 2014 Author Share Posted August 4, 2014 (edited) http://geck.bethsoft.com/index.php?title=GetDayOfWeek Also from the wiki: Quoteref rContainerBegin OnAddset rContainer to GetContainerrContainer.AddItem caps001 1000 1End No idea what to do with GetDayOfWeek. rContainer will be the refid of my container I assume. "GetDayOfWeek 6"??? ScriptName AACashRegisterScript REF rContainer Begin OnAdd GetDayOfWeek 6 1 set rContainer to GetContainer rContainer.AddItem caps001 1000 1End Does that even remotely look like what I want or am I as lost as I think I am? Edited August 4, 2014 by jet4571 Link to comment Share on other sites More sharing options...
Fallout2AM Posted August 4, 2014 Share Posted August 4, 2014 "Returns the current day of the week" So I think it is something like if GetDayOfWeek == 6; add my caps Link to comment Share on other sites More sharing options...
jet4571 Posted August 4, 2014 Author Share Posted August 4, 2014 I have this so far to test, the last one didn't work at all. REF rContainerBegin OnAdd if GetDayOfWeek == 6 rContainer.AddItem caps001 1000 1endifEnd If not that then looking at HVGoodBenefitContainerScript I can try this: ScriptName AACashRegisterScript Begin OnAdd if GetDayOfWeek == 6 AddItem caps001 1000 1 endifEnd If I actually knew what I was doing and knew what any of that meant I wouldn't be asking for help. Rearranging gibberish is what I am doing until something happens lol. Link to comment Share on other sites More sharing options...
jet4571 Posted August 6, 2014 Author Share Posted August 6, 2014 I am going to consider this to NOT work and/or just not possible. Nothing I tried worked and thought of making a quest to do it rather than attach the script to the container but I have no idea on how to make a script for the effing quest. If anyone else who is as ignorant of scripting as I am wants to do this then I hope you have better luck and help than I received. My mod will just be without this important feature and rely on container respawns which is to say wont happen. I give up with scripting. Link to comment Share on other sites More sharing options...
Recommended Posts