Get A Variable From Actor
Posted: Tue Jul 08, 2025 2:51 pm
I have a setup with FMOD where when a letter appears in the dialogue, a short sound byte is played. Simple stuff to mimic speech. Here's the kicker,
I need some kind of system to basically detect the current speaker (The actor) and set an FMOD variable. Don't worry about the FMOD side of thing, that I can handle. I have ended up using the Text Animator
So, basically it's just kind of finding an EASY way to have a float variable (The pitch) associated with each invididual actor and have some way of another script to "get" that variable off the actor.
I need some kind of system to basically detect the current speaker (The actor) and set an FMOD variable. Don't worry about the FMOD side of thing, that I can handle. I have ended up using the Text Animator
So, basically it's just kind of finding an EASY way to have a float variable (The pitch) associated with each invididual actor and have some way of another script to "get" that variable off the actor.