Making variables exclusive to the conversant
Posted: Fri Jan 17, 2020 8:56 am
Hi Tony,
My variables list is getting pretty long. I discovered while adding booleans to conversations that a simple "Met NPC" variable won't work because it sets the boolean to true on every other NPC, even if my player hasn't met them yet! So I started creating variables for each individual NPC, "met Rick", "met Daisy", etc. I can see this turning into a huge mess down the road, I'm wondering if there's a way to make the same boolean work across multiple NPC's without them activating each other?
My variables list is getting pretty long. I discovered while adding booleans to conversations that a simple "Met NPC" variable won't work because it sets the boolean to true on every other NPC, even if my player hasn't met them yet! So I started creating variables for each individual NPC, "met Rick", "met Daisy", etc. I can see this turning into a huge mess down the road, I'm wondering if there's a way to make the same boolean work across multiple NPC's without them activating each other?