SRL Archive - Help and Support

Help with area detection


jhildy

2007-09-04 21:57:30

hey can someone add me on aim and help me with area detection for my monk killer because i am no good it at.

pwnaz0r

2007-09-04 22:17:29

[email]pwnaz0r@hotmail.com[/email] (cant do aim sry, if you dont have msn, you should get ;))

jhildy

2007-09-04 22:38:16

I have msn i added you im [email]Jhildz737@aim.com[/email]

R0b0t1

2007-09-05 18:11:56

What exactly do you need help with? It would be nice if you posted that on the thread, seeing as we wouldn't have to hunt you down on MSN.

jhildy

2007-09-05 22:38:28

On my monk killer i want to know which fountain i am closer to (in edgy).

R0b0t1

2007-09-06 18:51:09

You'd have to find something specific on each fountain, or, if there if there is a music change and just check if theres a fountain close.

jhildy

2007-09-07 17:43:23

I do it's harder than i thought it would be. I am guessing it would be done with a DTM but i am not sure.

Santa_Clause

2007-09-07 19:33:36

Isn't there CountPixels or am I dreaming again?

R0b0t1

2007-09-07 20:06:48

Why not DDTMs? I could help you make on if you want. You could just increase the shizzofrenzia and pray :).



EDIT: Santa, stop dreaming. There sin't one :P.

The Claw

2007-09-07 20:07:11

Find both symbols, then use distance, like this:

if distance(symbol1x, symbol1y) < distance(symbol2x, symbol2y) then Writeln('we are closer to symbol 1') 
else
Writeln('we are closer to symbol 2');

pwnaz0r

2007-09-07 20:21:19

From: r0b0t1
EDIT: Santa, stop dreaming. There sin't one :P.



function CountColor(Color, x1, y1, x2, y2: Integer): Integer;
:p

R0b0t1

2007-09-07 20:30:36

Yeah, I knew of that one, but not about CounPixel().

jhildy

2007-09-09 22:41:16

The claw i thought there was only 1 symbol there.