Jump to content

How do I make a character silent?

Recommended Posts

I've tried using inst.components.talker:IgnoreAll(), and this works for the most part, however after certain actions my character is able to talk again. An example is after waking up from using a telelocator staff. Does anyone know a code to truly make a character silent?

Link to comment
Share on other sites

Option one, sound but no lines over head:

inst.components.talker.mod_str_fn = function() return "" end

Option two, no sound, no lines over head:

inst.components.talker.Say = function() end

Option three, the right way:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...