hi, im having some trouble with the dtmrotated function, what iv got is
im not quite shure how the dtmrotated function works but from what i read in the srl manual it checks for dtm then if it dosent find it the cammera is rotated untill its found. but it dosent do any rotating, and it NEVER finds any dtm even when the cam souldent need to be rotated. have i just done something realy nooby wrong? thx in advance for any helpCode:procedure bank2shopwalk; var walls:integer; begin walls := DTMFromString('78DA63AC6262606865400119B521609A11CA6' + '76C04AAA94555F3E9C33754359D44A8E900AAE94355539DE18E69' + 'CE645435C5E8EE69C07433BA5D00E1AF1282'); if DTMRotated (walls,x,y,615, 115,660, 149) then begin mouse(x,y,0,0,true) writeln('wallfound') wait(20000); flag; end; end;![]()


Reply With Quote









I use them all the time.

