gooser Posted June 20, 2014 Posted June 20, 2014 I want to be able to in a script disable the player's ability to use shouts and also set their cooldowns? Is this possible? Any tips? Â Thanks
dje34 Posted June 20, 2014 Posted June 20, 2014 DD stuff like ring gags prevents PC and NPCs to use the shouts, I think. Â Maybe you should investigate these mods.
gooser Posted June 20, 2014 Author Posted June 20, 2014 Ah, I see. i guess there is no other way. Function DoRegister() if Terminate return EndIf RegisterForSingleUpdate(1.0) EndFunction Event OnUpdate() ApplyGagEffect() DoRegister() EndEvent Function ApplyGagEffect() if Terminate return EndIf if (!Target.Is3DLoaded() || Target.IsDead() || Target.IsDisabled()) return EndIf Shout theShout = Target.GetEquippedShout() If theShout != None Target.UnequipShout(TheShout) EndIf libs.ApplyGagEffect(Target) EndFunction Seems brute forcish...
gooser Posted June 20, 2014 Author Posted June 20, 2014 Basically, every 1 sec we unequip any shout equipped and apply the gag effects (Get/SetPhonemeModifier)
Malicience Posted August 4, 2014 Posted August 4, 2014 In the vanilla game there's a global variable named "AllowPlayerShout" which starts the game set at 0 and gets set to 1 after you kill the first dragon. (Quest MQ104 objective 90) I haven't tested it but I suspect if you set it back to 0 it'll disable shouting. I'll have to do some more exploring to figure out cooldowns...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.