Jump to content

huggibee

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by huggibee

  1. Thank you very much for your help! I appreciate it greatly!
  2. Hello! I'm looking for some help in the creation of a script that's maybe attatched to an object (notebook) and when placed in an npc inventory, spawns objects (paper entries) at random intervals. Is this possible? If so, would anyone be willing to help me? Thanks in advance!
  3. After tinkering further, I'm able to get the script to fire, and after the first 8hrs, the clean linens are removed and the dirty linens are added -- great! . . . except, after the addition of new clean linens added via a custom crafting station, the script no longer fires. How can I fix this?
  4. I was using reference alias -- and I placed a copy of the starting linens in the player inventory, but never received them upon game start. So maybe it's an issue of not getting the quest to run even though it's set to run on game start? Edit: Attempted the script given, but nothing seems to happen. I think it must be an issue with getting the quest to run in the first place. :/ Edit02: So I found the issue with getting the script to run -- one of my ref alias refused to fill and thus delayed the quest. Thank you for your help!
  5. Uff -- I hate to bring this back, but I've been having some major issues with the script up to the point where it no longer works and I can't remember how I got it to work before. At some point the script repetitively added the CLs and DLs over and over regardless of conditions I set, or simply just stopped working. Is there another way around this, or perhaps another script that might work?
  6. Thank you for you help, I appreciate it! I'll experiment further with the provided script!
  7. Hello! So, I'm VERY new to scripting but am trying my best to learn and create as I go. I'm currently trying to create an activator that adds and removes certain items from the player inventory. Here is what I have, but it isn't working at all. Would anyone be willing to give me a hint as to what it might be or how to make this script better?
  8. Ah hah! It worked! The script worked! I can't thank you enough, IsharaMeradin for your timely replies and unwavering patience for a modding newbie like myself! :laugh:
  9. Thank you very much for your help and timely reply! I well get right on to working in this script right away --- but with this new script, it is no longer applied to npc inventories anymore, correct?
  10. Hello all -- thanks so much for all your help! thus far I've been trying for the life of me these past few days in my free time to get Ishara's lovely script to work, but I just can't. It compiles just fine, and the properties line up. I apply the script to both the clean and dirty linens, and management quest is set to run at the start of the game -- but no dice. I'm not quite sure what it is I'm doing wrong? Any suggestions?
  11. That did the trick! Thank you! Goodness me, I need to pay attention more ~ :D
  12. Ah! Thank you so much! Thanks for really putting things into place for me! I can't wait to test it out -- I really appreciate it! Edit: With the swap script, the compiler seems to have an issue with 11,46 ( ElseIf !akNewContainer || akNewContainer != Actor ; removed to the void, dropped to the ground or put into a container) The error is Actor is not a variable.
  13. It did! Thanks so much for your help thus far and replies! -- but it seems I've run into an issue compiling the script. Would you be willing to help me sort it? Here's the tweaked script and the errors the CK spits at me. I'm not quite sure how to resolve the errors, and google has been little help. Scriptname _A_LinensUpdate extends objectreference Event yourevent() If Actor.IsEquipped(WashedLinens) RegisterForUpdate(10) EndIf EndEvent Event OnUpdate() If Actor.IsEquipped(WashedLinens) Actor.RemoveItem(WashedLinens) Actor.AddItem(UnwashedLinens) Actor.EquipItem(UnwashedLinens) UnregisterForUpdate() EndIf EndEvent MiscObject Property UnwashedLinens Auto MiscObject Property WashedLinens Auto Starting 1 compile threads for 1 files...Compiling "_A_LinensUpdate"...C:\Users\McGui\OneDrive\Documents\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\_A_LinensUpdate.psc(5,14): cannot call the member function IsEquipped alone or on a type, must call it on a variableC:\Users\McGui\OneDrive\Documents\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\_A_LinensUpdate.psc(13,13): cannot call the member function IsEquipped alone or on a type, must call it on a variableC:\Users\McGui\OneDrive\Documents\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\_A_LinensUpdate.psc(14,16): cannot call the member function RemoveItem alone or on a type, must call it on a variableC:\Users\McGui\OneDrive\Documents\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\_A_LinensUpdate.psc(15,16): cannot call the member function AddItem alone or on a type, must call it on a variableC:\Users\McGui\OneDrive\Documents\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\_A_LinensUpdate.psc(16,16): cannot call the member function EquipItem alone or on a type, must call it on a variableNo output generated for _A_LinensUpdate, compilation failed.
  14. Ah, thank you! That's exactly what I was looking for! I'll be testing it out then -- and just to be sure I'm not doing anything wrong, I would apply the script to the misc obj Washed Linens and then simply hook up the properties in CK, correct? Again, thanks so much for the reply!
  15. Hello! I'm looking for a bit of help with creating a script that would remove a misc object from an inventory after set amount of time and replace it with another misc object. I'm also looking to have this script apply to NPC inventories as well if it's possible, not just the player's. I've been working on a small mod for myself and have everything sorted except for this darned script, but as much as I try, I'm just not experienced enough to write it up myself. If it helps, the misc objects I'm referring to are washed and unwashed linens, and after about 8 in game hours, I'd like the washed linens to "become" unwashed. If anyone would be willing to help me out with this, I'd be really grateful! Thanks! :happy:
×
×
  • Create New...