Jump to content

Need a script? Maybe I can help.


fg109

Recommended Posts

  • Replies 272
  • Created
  • Last Reply

Top Posters In This Topic

Howdy,

 

It's woverdude from the Way of the Monk mod. So, here's the thing. I have a script that I want to have run whenever the player is hit. The script moves around various global variables as a way of leveling or progressing the Unarmored skill. But I need it to only work when the player does not have anything equipped with the "ArmorHeavy" and "ArmorLight" keywords so that it only levels when they are unarmored. Here's the script:

 

 

  Reveal hidden contents

 

 

Do you think that you can help?

Link to comment
Share on other sites

@SetterHead

 

Your mod idea doesn't actually require any scripts. Or at most, it would require a simple script to check the stage of a quest (used to keep track of when exactly a fort/outpost is considered cleared) and then either enable or disable an Xmarker. The Xmarker would be the enable parent of all the NPCs (and perhaps banners) in the fort/outpost.

 

 

@Woverdude

 

Is that a script you're going to put on the player? I think it's better to have the script on a reference alias or magic effect that's then put on the player.

 

Anyway, this is an object reference script:

 

  Reveal hidden contents

 

 

Reference alias script:

 

  Reveal hidden contents

 

 

Not much of a difference.

 

 

@cobrasa9987

 

Sorry, I don't think your request is possible with the default scripting commands. Maybe someone who uses Script Dragon can make it, but otherwise you would have to wait for SKSE (the version with scripting functions is still in closed beta).

Link to comment
Share on other sites

Hello there!

 

I'm making a hunger mod and I'm a little stuck. I'm trying to make food "heal" a global hunger variable, but I can't figure it out.

 

Is there any way to have the magnitude of a particular magic effect be used inside a script attached to it? When I go into each food item's "potion" editor, I can add the effect, but that doesn't let me vary the amount of hunger restored from each food item. If not with magnitude, is there any other way to do this?

 

I also thought about grouping items that restore the same amount using keywords? Not that I know how to access the keywords any better than getting the magnitude, lol

 

The whole hunger mod would be extremely easy if the CK let us add/modify actor values. Then I might even be able to make other characters susceptible to hunger as well. Is there a script extender/other editor that can manipulate AV's?

Link to comment
Share on other sites

@IluisIndustries

 

I don't know of any way to add in new actor values, but I can think of a way to make it seem like there's an actor value like that.

 

 

  Reveal hidden contents

 

 

You can give the ability to just the player, or check this to dynamically apply it to all actors. I've also heard that SkyProc can create patches to apply things to all NPCs, but I've never used it (and truthfully I have no idea how to even begin).

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...