is it possible to have a mechanim condition to compare two variables?
I'm currently working on a mechanim system that selects between different idle states based on an npc's health. I know i'm going to want to re use my mechanim avatar for other npcs and I want to be able to set different maximum healths for different npcs.
My problem is that all of my conditions are being compared against hard coded values.If I make an npc in my current setup with say a max health of 10 he'll be going into his cower state at full health, not the behavior i want
Is there a way to get mechanim transition conditions to compare two variables instead a hard coded value?
Your answer
 
             Follow this Question
Related Questions
How to stop mecanim transition 2 Answers
Changing the idle animation in a mecanim without making whole new state machine. 1 Answer
How do I transition to the same playbacktime in another animation. 0 Answers
Unity 2D Mecanim Animation Stutter 0 Answers
Mecanim, get state percent complete when a transition occurs? 0 Answers