SCAR Code:var
theta : Extended;
x, y : Integer;
begin
theta := sin(GetMinimapAngleDeg);//[Error] (28267:1): Type mismatch in script
x := NPC.MS.x + (theta * (5 + Random(2)));
y := NPC.MS.y + (theta * (5 + Random(2)));
end;
I keep getting the error: [Error] (28267:1): Type mismatch in script
I dont understand what im doing wrong =/ GetMinimapAngleDeg(); returns extended.. D=



Reply With Quote



