I have searched the forum a few times and came up blank on this. This info may be somewhere deep the abyss of threads, but I still could not find what I wanted. Here goes:
I am trying to have a party member give me all his items in his inventory, remove himself from my party and then disappear. The problem is that the npc never disappears. The npc's items do indeed appear in my inventory and the npc does indeed become removed from my party. He no longer follows me and if I talk it is like we just met. Still, he does not disappear. Here is the code that I use to do all of this. I am using "destroy_object(Myron_Ptr)" to destroy the npc but nothing happens. This occurs with any npc that I try. Any ideas?
Thanks a million in advance for any input.
I am trying to have a party member give me all his items in his inventory, remove himself from my party and then disappear. The problem is that the npc never disappears. The npc's items do indeed appear in my inventory and the npc does indeed become removed from my party. He no longer follows me and if I talk it is like we just met. Still, he does not disappear. Here is the code that I use to do all of this. I am using "destroy_object(Myron_Ptr)" to destroy the npc but nothing happens. This occurs with any npc that I try. Any ideas?
Code:
if (critter_is_armed(Myron_Ptr)) then begin
inven_unwield(Myron_Ptr);
end
move_obj_inven_to_obj(Myron_Ptr, dude_obj);
// remove & destroy Myron
party_remove(Myron_Ptr);
destroy_object(Myron_Ptr);
Thanks a million in advance for any input.