   How do I use muti-states in my game?
  My actor has 3 states in the battle:1.Poisoning 2.Petrifaction 3.slowdownI control these states with a state mechine(FSM).But now, I have a magic, it can let my actor poisoning and slowdown.I can't use one state to show these tow effects.How can I design this?   
  It sounds like those 'states' only affect a single actor property: poison affects health, petrification and slowdown affect movement speed. I'd probably give each property it's own state: healthy and poisoned for health, normal, slowed and petrificated for movement. An actor can then both be poisoned and slowed at the same time.   ;  You can also bitmap your states. E.g.,normal = 0poisoned = 1petrification = 2slowdown = 4next_state = 8and add any new state as the next power of 2.A WORD variable will store 16 states; a DWORD will store 32.;Included in the Windows Phone Developer Tools Beta! View the full article