Code: Select all
Actor a = new Actor()
{
Name = c.GetCitizenName(),
IsPlayer = false,
Description = "A citizen who enjoys " + c.GetCitizenPreference().ToString()
};
DialogueManager.databaseManager.MasterDatabase.actors.Add(a);
Code: Select all
DialogueLua.SetActorField("NPC Actor", "Name", c.GetCitizenName());