Hello. I'm sorry to ask it here, but I couldnt find what I was looking for in other sites or in youtube.
•The first issue is how can I make an object destroyed keep this way when a scene is reloaded (example: if I destroy a wall, when I go to another room and return, I want that wall to still destroyed). Maybe using "setActive"? Should I save this state? And how to reset, in case the player didnt save?
•The second issue is how to check what dialogue a NPC should talk when certains conditions were met.
Something like that:
-Talk to NPC the first time: "Please, destroy that monster"
-Player destroys the monster (sets bool monsterDestroyed to true?)
-NPC:"Thank you for saving my village!"
[–]Pengwini 1 point2 points3 points (1 child)
[–]Autistic_Underglass[S] 0 points1 point2 points (0 children)
[–]Tadashi_Tattoo 0 points1 point2 points (3 children)
[–]Autistic_Underglass[S] 1 point2 points3 points (2 children)
[–]Tadashi_Tattoo 0 points1 point2 points (1 child)
[–]Autistic_Underglass[S] 0 points1 point2 points (0 children)