Jump to content

Recommended Posts

On 10/11/2021 at 4:53 PM, dfired said:

I made my custom character a new skin (its a Robot)

and i want to know if i can make him get another voice if i switch the skin.

Im not good enough to shlam a bunch of code infront of you but if you are able to check which skin the player is using you should be able to change the voice aswell using the same/similar funciton to how you set up their voice to begin with

  • Like 1

i dont realy know how to code i just followed the tutorial from hornet .

Now i know that i have to check what skin my character is wearing and i know that this

inst.components.skinner.skin_name 

is where my skin name is.

but how should i write the code.

i would think its like:

if

components.skinner.skin_name = "MySkinName"

than inst.soundsname = "Walter"

end

is this somehow right

 

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