Page 1 of 1

Macro: Camping

Posted: Tue Feb 01, 2011 1:16 pm
by Althathwe
Based Safir and Eastwood lumberjacking scripts.

Character should stand to the east of a tree with dagger in hand.

Code: Select all

Exec: Use Item in Hand
Wait for Target
Target RelLoc (-1,0)
Pause 1,00sec
If (SysMessage "There's not enough wood here to harvest." )
  Say: move
  If ("Kindlings count" >= 25 )
  For (1 to 25 )
  Double Click (kindling (0DE1))
  Pause 1,50sec
  End For
  End If
End If

Code: Select all

!Loop
Assistant.Macros.HotKeyAction|1305|
Assistant.Macros.WaitForTargetAction|5
Assistant.Macros.TargetRelLocAction|-1|0
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|4|0|there's not enough wood here to harvest.
Assistant.Macros.SpeechAction|0|52|3|RUS|2|16|157|move
Assistant.Macros.IfAction|50|1|20|Kindlings
Assistant.Macros.ForAction|20
Assistant.Macros.DoubleClickTypeAction|3553|True
Assistant.Macros.PauseAction|00:00:01.5000000
Assistant.Macros.EndForAction
Assistant.Macros.EndIfAction
Assistant.Macros.EndIfAction

Re: Macro: Camping

Posted: Wed Feb 02, 2011 2:28 pm
by morganm
Might want to explain how to use this with regards to Target Relative Location.

Re: Macro: Camping

Posted: Wed Feb 02, 2011 2:41 pm
by archaicsubrosa77
for target relative location you just stand in the same spot for every tree.

Re: Macro: Camping

Posted: Wed Feb 02, 2011 5:31 pm
by morganm
My point was to encourage the original poster to elaborate on this guide.

Not everyone knows where Relative Location -1,0 is or what that even means.

Re: Macro: Camping

Posted: Sun Feb 13, 2011 11:54 pm
by Hyroshi
How does this work???...