GetQuestArrow
Description:
Returns true, if treasure arrow active (in client looks like big gray arrow). If true - point param will contain position where this arrow pointing to.
NB: On some shards, this point is not a real treasure position, like a prevention from treasure digging by stealth and other script programs\clients.
if character disonnected, or treasure arrow not active - returns false.
Pascal Syntax:
function GetQuestArrow(var point : TPoint) : Boolean;
Pascal Example:
var treas_seeker : Cardinal;
tr_point : TPoint;
begin
while FindType(treasure_map_type) > 0 do
begin
WaitTargetObject(finditem);
UseObject(treas_seeker);
wait(1000);
if GetQuestArrow(tr_point) then
begin
MoveXY(tr_point.X, tr_point.Y, True, 0, True);
//digging etc.
end;
end.
Python Syntax:
def GetQuestArrow() --> struct