Jump to content

Mute Player/disable shouts


gooser

Recommended Posts

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...

Link to comment
  • 1 month later...

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...

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use