Re: How to transfer AI Scene Way Points
This will copy over the furthest waypoint of the actor being copied from. The 'if waypoint ~= self.SomeActor.Pos' makes sure that the actor has a waypoint to transfer. If he doesn't, then GetLastAIWaypoint() will just return his position.
I don't know of an easy way to transfer the closer ones.
Code:
local waypoint = self.SomeActor:GetLastAIWaypoint();
if waypoint ~= self.SomeActor.Pos then
self.SomeOtherActor:AddAISceneWaypoint(waypoint);
end