Jump to content

How can I get my character to say a timer value?


Recommended Posts

I'm trying to get my character say the value of a timer using the talker component, but I can't seem to get the timer value to be passed correctly to the talker, even though it passes correctly to print.

I'll post code if needed, but I'm not at my main computer at the moment, this problem has just been bothering me all day lol.

Link to comment
Share on other sites

6 hours ago, CarlZalph said:

Talker expects a string, timer is probably a number.

components.talker:Say(tostring(somevalue))

Ah, nice to know that tostring exists, and that it expects a string. I figured it worked like print, thank you!

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
 Share

×
×
  • Create New...