Jump to content

Recommended Posts

Posted (edited)

Attempting a small edit granting argonians a swim speed boost, but I only manage to give a general speed boost instead

Problem swimming in target condition only mean I can't add it until I am swimming as an argonian and its bonus affect normal move speed too rather than having its effect apply only when I swim

Dispel effects with keywords doesn't contain anything related to player state I can use

 

image.thumb.png.37a91665254c53e9ed9f8bfcb38abeec.png

Edited by alphafr
Posted

Since it's just for you, try just adding those conditions to the spell instead, and change subject to player. Not sure why you have race check twice there, but it shouldnt keep it from working

  • 2 weeks later...
Posted (edited)

Race check is double due to vampire being treated as a race on its own for each race, I still get either nothing as I can't add the spell (says its added but never show up in the menu) or a perma speed boost regardless of swimming state

Edited by alphafr
  • 1 month later...
Posted

You could try altering the Game Setting "fMoveSwimMult" when playing as an argonian instead, as that only applies while swimming by default.

Page for the function that alters Game Settings here.
Full list of Game Settings here.

Posted
On 6/30/2024 at 11:58 PM, alphafr said:

Attempting a small edit granting argonians a swim speed boost, but I only manage to give a general speed boost instead

look at your condition logic?

if is swimming equal none is trueand (you are of this RACE, or this Vampire RACE)  get a speed boost, has long has your not swimming,  you get a general speed boost, does that explain why that happened ? do this and try again

if Is Swimming equals the Player is true and the leave the two races alone

  • Confused 1
Posted

The "Subject.isSwimming" condition looks right.

There is however the issue of when the condition is tested.  In some cases, a condition on the magiceffect (such as you showed) is tested only once when the magiceffect is 1st applied (the usual case), and tested contiuously in other cases (concentration spells).  I believe this will fall in the former case.  You likely want to put the isSwimming condition spell-side instead so that it will be tested once a second.

  • Recently Browsing   0 members

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