Reply To: JRPG Battle System

Forums 💬 NodeCanvas 🗨️ General Discussion JRPG Battle System Reply To: JRPG Battle System

#14730
Gavalakis
Keymaster

    Hello there,

    You are welcome 🙂

    1. No the FSM doesn’t have something similar like Set Agent Decorator in BTs. The way is indeed to override the task agent like you do.
    By the way, the blackboard CAN have a GraphOwner variable, but through the use of the UnityEngine.Object variable. By pressing the small button on the right of the variable field in the blackboard, you are able to set the target type. A list of all the types configured will show up and as you will see, GraphOwner is not there. To make it apear, you can open up “Widnows/NodeCanvas/Configure Types”, and at the bottom of the window opened press “Add New Type” and select “Classes/Assembly-cSharp/NodeCanvas/GraphOwner”. From now on, GraphOwner type will show up in the list for this project 🙂
    It’s kind of an obscured feature.

    2. I would prersonaly suggest to create a MonoBehaviour for each of your units so that you can manage the code better and use NC to interface with that MonoBehaviour. This way, you are more free to design the game however you like without NC getting in the way, but instead helping you. In the upcomming version there is also a very nice new feature to link blackboard variables with your Monobehaviour 😉

    3. The automatic Save/Load of blackboard has been removed from the UI, but you can very simply create a MonoBehaviour to do that. A very simple example:

    Cheers!