Jump to content

Need Help Bad


Ranokoa

Recommended Posts

Looks like I am going to use OBSE. I think I found the correct function, and it will use a magic affect, but modify that magic affect. Hope I get it right, never used OBSE before and never wanted to. Still do not want to.

 

SetNthEIMagnitude nuMagnitude:long magicItem:ref whichEffect:short

 

Just a little confused about the ":long" and the :short.. But I think I got it.

Link to comment
Share on other sites

PFFT.

 

Thank you vicICE one hell of a bunch! A little suggestion and he made one hell of a long script into one tiny one.

 

ScriptName RSoulSpellScript

short BaseStat

Begin ScriptEffectStart
	if (player.GetItemCount BlackSoulGemFilled >= 1)
		Player.removeitem BlackSoulGemFilled 1
		Set BaseStat to player.GetBaseAV Magicka
		Set BaseStat to BaseStat + 10
		Player.ForceAv Magicka BaseStat
	elseif (player.GetItemCount BlackSoulGemFilled <= 1)
		Message "You must have a filled black soul gem in order to consume a soul"
	endif
end

 

 

nvm testing failed. Does the same as mod or force normally.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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