Results 1 to 7 of 7

Thread: Help me with Mage Traing Arena Telekenetic Chamber Script.

  1. #1
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default Help me with Mage Traing Arena Telekenetic Chamber Script.

    I don't now how to begin this... i made scripts for the 3 other chambers but this chamber ... really blows my mind..
    If someone could help me i would be glad to share my scripts.
    TY

  2. #2
    Join Date
    Mar 2009
    Location
    Illinois
    Posts
    292
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What do you have do, if you only have to cast telekenetic grab or whatever the spell is called. It wouldn't be that hard.
    SCAR Code:
    Procedure GrabTheItem;
    Begin
     MouseBox(Telekenetic Grab Cords, 1);
     Wait(24+random(354));
      If FindObjCustom(Item Trying to Grab) Then
        Begin
         Mouse(x, y, 4, 4, True);
        End;
    End;

    Sometime along those lines.

  3. #3
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default

    Lol....
    You have to see where the guardian statue has to be 'pulled' to ( so you have to use telekenetic grab). But first you have to run to the right side of the maze.
    And I cannot find a procedure that would make me go to the right side of the maze....

  4. #4
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    Have a minimap bitmap for every different maze, then have your player run to the correct side depending on the maze and location of the statue.

    It would go something like this:

    SCAR Code:
    procedure whichMaze;
    var
    x, y, {bitmap vars}: integer;
    Begin
      If findBitmap({bitmap stuff here}) then
        Maze = 1;
        If findBitmap({bitmap stuff here}) then
          Maze = 2;
          etc.
    end;

  5. #5
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default

    Minimap bitmap is different every time
    I can't even use reflection because tiles are diferent too...
    Last edited by fre; 04-06-2009 at 12:32 PM.

  6. #6
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default

    I already had some procedure like this
    If DistanceFrom(Tile(maze1))< 5 then
    maze:=1;
    If DistanceFrom(Tile(maze2))< 5 then
    maze:=2;

    And so on. There are 10 different mazes but those 10 different mazes are each on multiple places so it would be really hard and long work to get this to work.
    So i am waiting for ideas to make the script easier.

    Any idea is welcome...

  7. #7
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    Instead of BMPs you could use DTM/DDTMs so then you can If(FindDTMRotated({dtm stuff})) so you don't have to worry about rotations.

    Why don't you ask RID

Thread Information

Users Browsing this Thread

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

Posting Permissions

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