aymn
Junior vMember
Posts: 37
|
Post by aymn on Aug 1, 2019 5:18:51 GMT
Hi everyone how to Make a Save_Load System for FSM AI Template !!?? I saw many Developers recommend ES2/3 .. but how to do it ??!! Thanks
|
|
|
Post by shadex on Aug 1, 2019 7:52:27 GMT
Hi everyone how to Make a Save_Load System for FSM AI Template !!?? I saw many Developers recommend ES2/3 .. but how to do it ??!! Thanks What would you be saving? You can already make prefabs of FSM Templates. The FSM templates don't need their position's save, as they are based off of variables on the character. Not sure what your trying to do.
|
|
aymn
Junior vMember
Posts: 37
|
Post by aymn on Aug 1, 2019 10:19:46 GMT
Hi everyone how to Make a Save_Load System for FSM AI Template !!?? I saw many Developers recommend ES2/3 .. but how to do it ??!! Thanks What would you be saving? You can already make prefabs of FSM Templates. The FSM templates don't need their position's save, as they are based off of variables on the character. Not sure what your trying to do. Hi .. Thank u for replying to my Question .. I want to save AI's current health after being damaged by player and current state if patrolling or wandering and also the position of the AI .. i want to trigger the save by button press or on trigger enter ..
|
|
|
Post by shadex on Aug 1, 2019 16:19:57 GMT
What would you be saving? You can already make prefabs of FSM Templates. The FSM templates don't need their position's save, as they are based off of variables on the character. Not sure what your trying to do. Hi .. Thank u for replying to my Question .. I want to save AI's current health after being damaged by player and current state if patrolling or wandering and also the position of the AI .. i want to trigger the save by button press or on trigger enter .. Then yea, easy save 3 is pretty much the one everyone uses. You can directly save the gameobject's, all component values and all children. That should save the FSM controller's state, as it's state is due to all the variables on the gameobject. So it should do what you want it to do pretty much out of the box. Anyways, here is the documentation on how to save and load using their components. docs.moodkie.com/easy-save-3/es3-guides/auto-save-saving-without-code/
|
|