fredag 25 april 2014

day 12

We finally managed to solve the annoying (yet not gamebreaking) NPCRotation bug.
we found out that the editor was complaining about our check to see if a list was null or not, and we changed that to a check to see that there were more than 0 elements in the list.

And after finding a bug in the Attack behaviour of the NPC we finally found the issue and resolved it. I had forgot to reset a variable at the end of the function, making the AI freeze up.

(above is the fix needed to make everything work, which is resetting the MovingToPlayer variable to false)

My next assignment is to make the in-game items usable for the player, starting with making GUI support.

Inga kommentarer:

Skicka en kommentar