
Originally Posted by
Markus
Well if you can think of a way to get the current camera angle, go ahead..
That would be a lot of work. And quite unneeded. If you use lape I recommend to overload all the camera angle set functions and make them store there parameters in a variable. Then you can make your own anti random function that overrides the old one where you will set it back to the previous angle.
Simba Code:
var
LastAngle:Integer;
procedure SetAngle(angle:Integer,remember:Boolean); overload;
begin
if remember then
LastAngle := angle;
setAngle(angle);
end;
function FindNormalRandoms:Boolean; override;
begin
Result := inherited;
SetAngle(LastAngle);
end;
Typed in browser, not sure about mistakes.