alphafr Posted June 30 Share Posted June 30 (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 Edited June 30 by alphafr Link to comment Share on other sites More sharing options...
Sphered Posted July 2 Share Posted July 2 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 Link to comment Share on other sites More sharing options...
alphafr Posted July 14 Author Share Posted July 14 (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 July 14 by alphafr Link to comment Share on other sites More sharing options...
Tortilladog Posted August 16 Share Posted August 16 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. Link to comment Share on other sites More sharing options...
alphafr Posted August 16 Author Share Posted August 16 Scripting is really not my strong suit but thanks for the info Link to comment Share on other sites More sharing options...
PeterMartyr Posted August 16 Share Posted August 16 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 true, and (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 1 Link to comment Share on other sites More sharing options...
xkkmEl Posted August 16 Share Posted August 16 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. Link to comment Share on other sites More sharing options...
Recommended Posts