How would i add a procedure to pick up an item to a script? i wanna add pick up arrows to pvh's cavefighter. wanna help?
How would i add a procedure to pick up an item to a script? i wanna add pick up arrows to pvh's cavefighter. wanna help?
Did someone say GDK?
any 1 willing to tell me?
Did someone say GDK?
The easiest and most reliable method would be to use reflection.
Using typical methods you could
FindColorSpiralTolerance or FindColorTolerance to search for the color of the arrows.
Current Project: Catching up on what I missed, re-writing some old includes I done in the past.
Upcoming Project: Open For Suggestions
could u give me an example?
Did someone say GDK?
If you want a Reflection example, pm me and I'll make one. Otherwise, here is the regular one.
NOTE: You will need to add failsafes to make this work well.
SCAR Code:FindColorsSpiralTolerance(x,y,TPAToStorePointsIn,ColorOfArrows,MSX1,MSY1,MSX2,MSY2,Tolerance);
for i:=0 to High(TPAToStorePointsIn) do begin
MMouse(TPAToStorePointsIn[i].x, TPAToStorePointsIn[i].y);
if(IsUpText('rrow') then begin
Mouse (TPAToStorePointsIn[i].x, TPAToStorePointsIn[i].y);
end;
end;
ErrrHe beat me to it.
Current Project: Catching up on what I missed, re-writing some old includes I done in the past.
Upcoming Project: Open For Suggestions
Thanks for helping me too, i neded help with that.
There are currently 1 users browsing this thread. (0 members and 1 guests)