Jump to content
ℹ️ Intermittent Download History issues ×

klovok

Premium Member
  • Posts

    5
  • Joined

  • Last visited

Nexus Mods Profile

About klovok

Profile Fields

  • Country
    None

klovok's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Well I can say, that both of the scripts posted by rickerhk and tunaisafish worked wonderfully :thumbsup: . The only problem I have is deciding which one to keep... So i kept both! As far as the dumpster, I am working on it currently. I also learned a lot more about scripting, and made a simple error when trying to make my own script which was basically tunaisafih's code, except i overcomplicated it horribly by adding the refID :wallbash:. I learn from my mistakes I hope...
  2. While testing, I managed to get the code into the object. When i go to the safe, it doesnt display anything. I inserted a showmessage command after the delete items command, and found that the script actually worked. What should i do from here? the current code is: P.S. The name was changed for the sake of not matching the object, which it wasn't but just to double check, it contains no words that the object's name does. P.P.S. I never thanked you for replying, so thank you! ScriptName Script01forhq short iActivated BEGIN OnActivate if IsActionREF Player == 1 set iActivated to 1 return endif END BEGIN MENUMODE return END BEGIN GAMEMODE if iActivated == 1 RemoveAllItems showmessage message01forhq set iActivated to 0 endif END
  3. ScriptName trashcansafe short iActivated BEGIN OnActivate if IsActionREF Player == 1 set iActivated to 1 return endif END BEGIN MENUMODE return END BEGIN GAMEMODE if iActivated == 1 RemoveAllItems set iActivated to 0 endif END This is what i was able to get the script down to bear minimum, but still won't save. I am not a very good code troubleshooter, so just wondering if there are any errors. P.S. the post doesn't show it, but the code is correctly indented.
  4. ScriptName trashcansafe short iActivated BEGIN OnActivate if IsActionREF Player == 1 set iActivated to 1 return endif END BEGIN MENUMODE return END BEGIN GAMEMODE if iActivated == 1 RemoveAllItems set iActivated to 0 endif END This is what i was able to get the script down to bear minimum, but still won't save. I am not a very good code troubleshooter, so just wondering if there are any errors.
  5. Ideally, the script would work in this manner. I would put items in, and when i exit out of the container, they would be deleted. well apparently this is a lot more complicated than i thought, and any script I tried to write has failed. Thanks in advance to whoever posts in this topic!
×
×
  • Create New...