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
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
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.
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....
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;
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.
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...
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![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)