@ Scruggsywuggsy the ferret
Ok, I have been testing your proposed command now for over 4 hours and I am %99.9999 sure this is working as advertised and %100 sure I have not seen any side effects.
I changed the game settings so that the only damage done to the Shields would be from blocking by setting the:
DamagetoarmorPercentage 0
damagetoweaponPercentage 0
And ran token scripts on the PC and actors fighting in the Arena using message box to report the damage done at the moment damage occurred to the health of the equipped weapon and shield used to block. doing it this way I could visual see the exact moment that the damage occurred. The damage reported was in sync with the blocking.
Bottom line this this is good to go in my opinion. Please do include this in your official OBSE if possible.
Also, will this get saved in the save game? I expect it will not right?
BTW thank you so much for this, this command (to turn various skill perks on and off once updated to do this eventually) will be very useful for many situations (not just the one I am using it for) and should be a great addition to OBSE.
Yes, otherwise OBSE wouldn't be possible.
Try http://home.comcast.net/~scruggsyW/obse/obse_0020_toggleskillperk.zip.
It adds:
ToggleSkillPerk skill:actorValue masteryLevel:int bEnablePerk:int
It only supports the journeyman block perk at present (kept the function syntax general in case we want to add other perks/skills later) so you'd use it like:
ToggleSkillPerk block 2 0 ; disable Journeyman block perkToggleSkillPerk block 2 1 ; enable the perk
Tested briefly here, if you can test it as well and get back to me I will slip it into 0020.
It depends entirely on the perk. This particular one affects all actors.