Jump to content

Want to make a special scripted ring


Recommended Posts

  • 1 month later...

Hmm... Maybe using the GetAVMod function? Number 11 is Encumberance. I've never thought to try something like this but it is interesting. I'm gonna play some Ring of Elysium with my brother, I'll write up a quick script and see what I can come up with after.

 

 

Edit - Just realized I necro'd sooooo hard

Edited by Rizalgar
Link to comment
Share on other sites

If you ever get this, this is as close as I can get it. I'm not sure how to get it to read a percentile, but it will read with a set value.

 

 

So here is this. modify the encumbrance line with what you want. Attach it to a quest

 

 

scn RizCarryOn
short state
float fQuestDelayTime
begin gamemode
let fQuestDelayTime := 10
if state == 0
if player.getequipped rizcarryring
set state to 1
endif
endif
if state == 1
if player.GetActorValue Encumbrance >= 125
player.removespell rizfeatherring
else
player.addspell RizFeatherRing
endif
endif
set state to 0

end
-----EDIT-----
I figured out a way to do it. Use this, attach to quest. On equip. However you want to do it. This is the base script that will work to add or remove the effects based on carry weight %
short state
short endure
short endure2
float fQuestDelayTime
begin gamemode
let fQuestDelayTime := 10
set endure to player.GetBaseActorValue Encumbrance
set endure2 to player.GetActorValue Encumbrance
set endure to endure / 2
if endure2 <= endure
player.addspell CarryWeightSpell
endif
if endure2 >= endure
player.removespell CarryWeightSpell
endif
Edited by Rizalgar
Link to comment
Share on other sites

  • Recently Browsing   0 members

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