Jump to content

Simple Script Help!


Bergzore

Recommended Posts

Yeah I'm like 10 steps ahead of you man, no offense. I've tried all of that stuff.

 

Thanks for trying to help though. I know you meant well.

 

I honestly think it is how you say, that the in combat state is just flawed.

 

I'm brainstorming hard on other ways to achieve a similar result, but I'm starting to think that scripting is the only way.

Link to comment
Share on other sites

If you are wanting to go the scripting route, take a look at my mod Glimpse of Elsweyr. What you want to look at is the spell which is used to toggle the automatic storage ability of the bag of holding and then the script on the container itself. The spell sets a variable which the container then uses to tell itself that it is time to do the auto storage. It is also scripted to not auto-store when combat is going on. Combat as far as Papyrus is concerned is whenever you have an active enemy (red dot) on your compass.

 

That would get you started, but I've no clue how to script your effects to play.

Link to comment
Share on other sites

The script would be attached to the magic effect, I guess. The effect archetype is invisibility on self. The script would need to make sure the subject is out of combat and sneaking to apply the effect. The effect would also need to be dispelled if the player stands up.

 

I will take a look at your mod when I get the chance, but if a scripter has now clue how to write it, then I surely couldn't hope to figure it out either. lol

 

Edit: Also, I'm not sure scripting the conditions would make any difference. The conditions are in place already and they work fine, but only once. The problem is that if I get into combat, then come out of combat again, the effect never works again unless I save and reload. It's like the game forgets about it and needs a kickstart.

Link to comment
Share on other sites

Its not that I don't have a clue... It is more that I'd have an idea of *where* to put the commands, I just don't know which commands to use. There are a lot of mods, I'm sure, which use scripted magic effects. They just need to be found and examined...

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...