I have a bp with an npc that talks to me and says go get these items so in a different blueprint i have the item collecting and both work but when I go back to the npc I want him to have a different dialogue and then run off. how do i give that npc a different dialogue after 5 of the items are collected?
easiest way is to just set a bool âbhas5items=trueâ for example or add a tag
I would have to set the bool in the bp where they have to collect the items and then get it in the dialogue bp right?
Thatâs one way, for sure.
Usually you want specific tasks to be managed by blueprints that donât belong to your character.
So, yes, having the blueprint that keeps track of the items should also be the blueprint that adjusts the Boolean value that your character or quest blueprint retrieves (assuming you arenât handling the item count in the quest blueprint, which isnât a bad idea).
I can not for the life of me "get the boolean and could it be an integer instead so I can input the number â5â instead of a bool?
Do I need to cast to the memories bp (the memories are the items you must collect) in order to âgetâ the memories variable?
I used the EQUATE node (â==â or âequals toâ), assuming I understand you correctly.
When âMemoriesâ = 5, the âHas_Memories?â Is finally set to TRUE.
Then, you would have your quest/character BP check for this condition.
thank you so much!
Youâre more than welcome!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.