I have a quick question on referring to AI's state inside my HUD class. The HUD suppose to update each time my AI controller enters a new state. But i have no idea how to refer back to those state in my HUD. Here is the pseudocode for what i want to do:
if( AI state == Idle){
MovieClip.GotoAndStop(2);
}
can somebody show me how to compare AI state in HUD class? I kept getting syntax error.
thanks in advance![]()



Reply With Quote

Bookmarks