Jump to content

Quick Questions, Quick Answers


Mattiewagg

Recommended Posts

  • Replies 2.6k
  • Created
  • Last Reply

Top Posters In This Topic

Well, I think that could be accomplished by a script that gets a target's current health, and reduces it by a certain percentage per swing. I'm not the best scripter out there; I'm more of a writer/ quest designer, so someone else could explain in more detail.

Perk would work better than just a script, since it would require polling the latter way.

 

I'll explain after dinner.

Link to comment
Share on other sites

 

Well, I think that could be accomplished by a script that gets a target's current health, and reduces it by a certain percentage per swing. I'm not the best scripter out there; I'm more of a writer/ quest designer, so someone else could explain in more detail.

Perk would work better than just a script, since it would require polling the latter way.

 

I'll explain after dinner.

 

Please do! I would love to get this work...shame I have to put in so much work just to make a minor personal adjustment to a mod, ah, well, I got Divinity to preoccupy myself with in the mean time.

 

Your help on this would be much appreciated :) If the length of the post is going to be long feel free to PM me.

Link to comment
Share on other sites

Hi Twarrior, that is because the marker your looking for is in the furniture tab. If you follow these steps --> WorldObjects/Furniture/furniture you will see it. There are two markers, Hammertablemarker and Hammerwallmarker.

:)

Link to comment
Share on other sites

Quick question... All priests in my game are naked? The only mod that I have that views inventorys is amazing follwer tweaks. I disabled it and they are still naked. Its weird cause its only Priests of a shrine or a temple

Link to comment
Share on other sites

Quick question!

I'm pretty new to mod creating in Skyrim (I did a little in Oblivion though)

I'm having trouble finding how to make spells work based on percentages.

For example, what I am trying to do here is have health damaged by 10% per second while restoring magicka and stamina in percentages

-I think I could figure out how to put the spell together just fine, I just can't seem to figure out how to do percentages, which seems like it is easier said than done, or atleast it should be easier done....

 

In addition, basically on the same line of things here, I was also trying to get some sort of life-steal going, this I don't know how to do. But I would like to put in %percentage% of life steal per hit.

(Like...in the old days of Oblivion that should just be "Absorb Health on contact" but, I can't seem to figure that one out here in Skyrim. ALSO, I suppose I should mention the life steal thing I kind of want it to globally effect the player, so all weapons and spells are now fortified with life steal, which I would assume would be an "ability" spell, but again, this comes down to: how?

 

Your help is appreciated!

You could quite easily do this by script. So you have a script effect, which, once activated, has a script like so:

Scriptname LifeStealMGEFScript Extends ActiveMagicEffect

Event OnEffectStart(Actor akTarget, Actor akCaster)

	akTarget.DamageAV("Health", ActorValuePercent(akTarget, "Health", 0.1)); in this scenario, damage the actors health by 20 percent
	akTarget.RestoreAV("Stamina", ActorValuePercent(akTarget, "Stamina", 0.1)); restore stamina by 10 percent
	akTarget.RestoreAV("Magicka", ActorValuePercent(akTarget, "Magicka", 0.1)); restore magicka by 10 percent

EndEvent

Event OnEffectFinish(Actor akTarget, Actor akCaster)

EndEvent

Float Function ActorValuePercent(Actor akTarget, String AV, Float Percent)

	If AV == "Health"

		Return ((akTarget.GetAV("Health") / akTarget.GetAVPercentage("Health")) * Percent)

	ElseIf AV == "Stamina"

		Return ((akTarget.GetAV("Stamina") / akTarget.GetAVPercentage("Stamina")) * Percent)

	ElseIf AV == "Magicka"

		Return ((akTarget.GetAV("Magicka") / akTarget.GetAVPercentage("Magicka")) * Percent)

	EndIf

EndFunction

Then attach the magic effect to your spell/ability/perk.

 

There might just be a way to do this through the Absorb archetype though, haven't played around with it much.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...