MrWicked0
2010-02-19 09:36:34
Alright so I have gotten further with my current script and everything seems to be good except for DTM's.
I cant seem to get them to work… I have read what I can find on the forums regarding them but it just wont work….
I am using the following code:
Loading the DTM:
Finding the DTM:
This is what my DTM looks like in the editor.

I have the tolerance set to 20 for the parent. ( I would assume that's the only one I would have to change… As black is well… black.. )
I dont know what the Area Size and Area Shape stuff is for… and no one seems to mention it in there DTM tutorials. Is it required? what does it do..
Does anyone know why I cant seem to find my fly rod!?
I cant seem to get them to work… I have read what I can find on the forums regarding them but it just wont work….
I am using the following code:
Loading the DTM:
FlyRod := DTMFromString('78DA636C616360E0666240063EE6DC0C2250F' +
'67F2060AC01AA914455C3C000E13342798C13816AFE32E257D306' +
'542348C09C7AA01A4E026AFA816AD809A8A900AA11C1AF060007A' +
'D09E2');
Finding the DTM:
if FindDTM(FlyRod, MMx, MMy,MIX1, MIY1, MIX2, MIY2) then
begin
Writeln('Rod Found!!');
end else
begin
Writeln('Rod Not Found!!');
end;
This is what my DTM looks like in the editor.

I have the tolerance set to 20 for the parent. ( I would assume that's the only one I would have to change… As black is well… black.. )
I dont know what the Area Size and Area Shape stuff is for… and no one seems to mention it in there DTM tutorials. Is it required? what does it do..
Does anyone know why I cant seem to find my fly rod!?