looking for info about using an object located at -1, -2 of your character in a field of same type objects.
im working on a fishing script that picksup and replaces traps. i can get it to do everything except, it just picks up random traps instead of the one i want. i cant figure out how to make it see a specific spot, based off my char position.
7pick&replace:
findItem CZZ G_ 5 ;i dont know how to make this - or + charpos instead of ground 5
if #findKind = -1
{
wait 10
goto trap
}
else
{
set #ltargetKind
set #lobjectID #findID
set #ltargetKind 1
event macro 17 0
wait 10
set #lTargetX #charposx + +1 ; i know its to late here
set #lTargetY #charposy + -1 ; and here
set #lTargetZ 1
wait 25