Question Is there a way to do an "AND" function on states?

SlimerJSpud

Well-known member
Messages
793
Reactions
681
Points
93
I'd like to be able to trigger a set of actions based on a Boolean AND function. What I need (pardon pseudo-code) is (Anim2 = Playing) AND (VamMoanState = Climax). I didn't see an obvious way to do this using Logic Bricks. I know how to trigger things from VamMoan, but I need that AND function so it's not triggered when the other animation is still playing.
 
I'm almost ready to answer my own question. VUML does this.
 
Upvote 0
Well, it looks like VUML can't do exactly this. VUML can't detect the state of which animation (1 or 2) is playing, only that the timeline plugin is playing. VUML can't detect when VamMoan reaches Climax either. I found another way. I did use Action Grouper to gather up the various actions for "head drop" and "head thrash" into groups. I disable these , and the dub.force plugins at the start of Anim1, and re-enable them during Anim2. That way, VamMoan will try to trigger them anytime climax is reached, but it will only result in actions during Anim2.
 
Upvote 0
Back
Top Bottom