Jump to content

Console command/toggle onto an equipable item


mnm2317

Recommended Posts

Working on my first mod, so thought I'd do something simple. I'm getting pretty familiar with using the console commands for stuff I need (adding items and keeping myself alive), but every time I exit/load I have to turn toggles back on (what a hassle, right? ;)). So I thought this would be perfect for my first mod.

 

The bones of it are: I want to put the console command of "TIM" (Toggle IMmortal) onto a ring. This way, with that ring equipped, I don't have to worry about bringing up the console for anything.

 

I'm simply duplicating a vanilla ring, and just modifying the information so the 'script' is the only thing I need help with.

 

I realize what I'm doing isn't THAT big of a deal or important, but it's my first mod and it will, hopefully, allow to build up for a much larger mod, that's directly related, in the future. Thanks in advance for the help!

Link to comment
Share on other sites

ahh, I was afraid of that (as I seemed to find that in my searching).

 

Ok, what about doing some 'if' statements? Like "if HP is > 10% then kneel & begin regen of HP without taking damage"? is that too much to ask? lol I have a feeling that would be a pretty long script, but I'd really like to find the elements to do it!

Link to comment
Share on other sites

I don't think you can script immortality via papyrus. There is a command in papyrus to SetEssential but whether it works on the player or not, the wiki doesn't say.

 

If you've got specific console commands that you always enter, you might want to consider looking into batch files. Never used them myself but in essence it's a series of console commands that rather than always typing out you can just call the batch file on one line in the console. it would be slightly quicker...

Link to comment
Share on other sites

  • Recently Browsing   0 members

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