triggering an animation only when other is triggered

hey everyone

I need to trigger an animation that only starts when I have activated another script

If I made my FPS pick up a rock on getbuttondown. how do I pass it onto another character and then activate another animation alá hes waving and saying thanks.

I cant really figure out how to activate an animation on the other character that knows wether or not im carrying a stone (sorry the bad example)

thanks!

You can do this by using bools in your animator so then all you need to do is setup bools for the animation within the animator and call the bool from a script. Here is how to setup up parameters in a animator. 1