SRL Archive - OSR Help

How to visualise the ATPA/TPA that my script should detect?


l6bustank

2013-01-29 12:19:18

I need to see what the script "sees", can I somehow mark an (A)TPA on my screen with a box or sth?

DannyRS

2013-01-29 12:31:25

You can use smart or the built in debug form, I'll see if i can find the code :)


{$I SRL/SRL/Misc/Debug.simba}
DebugATPABounds(ATPA);

{$I SRL/SRL/Misc/Smartgraphics.simba}
Smart_DebugATPA(True, ATPA);

If you include those includes, and search debug in your functions, theres loads for TPA and ATPA :)

l6bustank

2013-01-29 12:41:00

From: DannyRS
You can use smart or the built in debug form, I'll see if i can find the code :)


{$I SRL/SRL/Misc/Debug.simba}
DebugATPABounds(ATPA);

{$I SRL/SRL/Misc/Smartgraphics.simba}
Smart_DebugATPA(True, ATPA);

If you include those includes, and search debug in your functions, theres loads for TPA and ATPA :)


got them on my smart now, thanks Danny! :)

E: got myself a nice fast and flawless finder function now :D, making a simple fighter and posting it i think