I have a conversation with a realtor that sells properties. When the realtor sells a property it gives the deed and marks the item as sold.
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
string pcname = GetName (oPC);
// Give deed to the PC.
// mark property as sold
int itest = GetCampaignInt("housing","workshop3",oPC);
string stest = IntToString (itest);
FloatingTextStringOnCreature ("Int is now "+stest, oPC);
// assign name for sign
// Take 10000 gold from the PC.
TakeGoldFromCreature(10000, oPC, TRUE);
Then each property in the conversation tree checks to see if its available to show up in the conversation
// Inspect local variables
object oPC = GetPCSpeaker ();
if(GetCampaignInt("housing", "workshop3",oPC) > 0)
Problem is that the property is still showing up after its sold -
What am I doing wrong?