Hello!! Like I said on my presentation, I was looking for some free time to have a bit of euo scripting to make some kind of Auto-move to corspes and heal my pet with Claw integration... and the 1st I must aware you is that I'm new at euo programming, tweaked some scripts, and almost all know what it does, not so deep but basics. BTW I know a bit of C# and PHP, all selfmade, so I think I know the basics and I'm glad to start on this new language ( BTW, it have name? ) whatever, I will give a try and if I success I like to share it with the community.
So where I start? Do I must create a new post so people can help me ? Or will you help me in this one ? Anyways I post here what I Found. Now I'm looking some scripts I had, to learn a bit on how pathfinding works, and how to search for a ID from a Tamer script, looks like this:
if %findDist <> N/A
{
if %findtype in %tameable
gosub Taming %findid
}
if %findDist = N/A
{
event sysmessage no more animals around
event pathfind %charstartx %charstarty %charstartz
wait 10s
}
Also, the same script, have a subroutine to move to the animal if you are more than 2 tiles away:
set #ltargetid %tameid
set #ltargetkind 1
while #findDist > 2
{
event pathfind #findX #findY #findZ
wait 1s
finditem %tameID G_16
}
At least, I have something to play with, and see if I can try to make it move to the new corspes... So any tip here ? Is there a better way to check it ? Thanks in advance