Jump to content

Need Help setting up Stategraph


Recommended Posts

I've created a mod that involves animations I made from scratch. The problem is I have no idea how to get the stategraph to work. At this point it's basically a frankenstein of code I grabbed from existing stategraphs. The game's telling me it can't spawn the object because it can't index the "currentstate" in the animation. I couldn't find anything obvious in the SG or prefab and the error log didn't give me any specifics other than it was a stategraph issue.

The creature is supposed to change builds whenever he is attacked, which I don't think I coded but I still don't know how to do that properly. Other than that the stategraph's pretty basic, all he does is move around, sit still, and change builds when he's attacked. Can someone help me with it?

Bill.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...