Results 1 to 4 of 4

Thread: DTMRotated Not Working.

  1. #1
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default DTMRotated Not Working.

    begin
    BankDTM := DTMFromString('DTMtoStringGoesHere');
    DTMRoated(BankDTM,x,y,5,5,515,335);
    Mouse(x,y,2,2,false);
    PopUp('Bleh');
    writeLn('Worked.');
    end;

    (Simple example script above that doesnt work, but should?)

    function DTMRotated(DTM: Integer; var x, y: Integer; x1, y1, x2, y2: Integer): Boolean;
    By: Yakman
    Description:
    First looks for a DTM without rotation, then increases the amount
    of rotation around 0 gradually until it finds the DTM. A bit like the
    ProgressiveTol Bitmap Engines.


    Now if i got the way to use it wrong please let me know and explain where i went wrong. Other wise why is it not working ? Is this a faulty command?

    Thanks for all help on this. Did not know where to put this - Think mabey in SRL Help?

    SRLv370.

  2. #2
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    I think it's FindDtmRotated(Dtm, x, y, x1, y1, x2, y1, StartAnge, EndAngle, AngleStep, Angle)
    Hup Holland Hup!

  3. #3
    Join Date
    Apr 2007
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks, mm whats the last Angle?

  4. #4
    Join Date
    Apr 2007
    Posts
    186
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by chwiggy View Post
    Thanks, mm whats the last Angle?
    Extended variable (but i have no idea whats its used for) i just made
    SCAR Code:
    var LastAngle :Extended;

    and
    SCAR Code:
    FindDtmRotated(OTHERTHINGSHERE :D ,LastAngle)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DTMRotated
    By Jackrawl in forum OSR Help
    Replies: 4
    Last Post: 12-20-2007, 11:35 PM
  2. probs with dtmrotated
    By cocodog13 in forum OSR Help
    Replies: 4
    Last Post: 10-25-2007, 05:12 PM
  3. Return Point for DTMRotated
    By dvdcrayola in forum OSR Help
    Replies: 2
    Last Post: 08-24-2007, 07:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •