Will this work? Actor replacement.
Been wondering if this has been done before, but too lazy to test out myself. Is it possible for an actor to become another actor through pointers? Pseudo code time!
Code:
local toGo = self; --Need to delete old body
local temp = self;
temp = CreateAHuman("Some Actor");
temp.Pos = self.Pos;
self = temp;
toGo.ToDelete = true; --Delete the old body
MovableMan:AddMO(self);
I'm seeing this in terms of full "regeneration", or being a infiltrator. Though I'm guessing the pseudo code is wrong...