Log in

View Full Version : Quick question about scripting



javallemc
05-09-2012, 11:38
Hey I was wondering, I was makin a script the other day, and I just started so I have a few questions.

I used exiva addmove from my starting point (the depot), and went all the way to the place where I want to bot. When I go down ledges do I exiva addmove at the square on the ledge, and then another exiva addmove when I'm up on the 2nd level?

Also, lets say that I am at my hunting spot, but since I have waypoints starting all the way from the depot, when I hit gotoScriptLine 0 on my script, and I'm already at the hunting spot, will it auto move me back to the waypoints of the depot? or would it continue along points through my script at the hunting area?

Lastly, for the depositer, I know I use the ifTrue function, then add way points to backtrack all the way back to my town depot. Lets say after my script gets me back to my depot and deposits everything, if I add a gotoScriptLine 0, will it start back all the way from the beginning of my script, from where I first started to move from the depot to my hunting place and continue hunting there?

Sorry for the noob questions, but if I can figure this out I might be making a few scripts and posting them later as well, just difficult to try to start :p

maupie00
05-11-2012, 15:41
hey javallemc,

im just a noobie to, just using the probgram for like 24hours now...

but in my opinion it will start all the way over....
but u can choose to hit at the end of ur script ''gotoscriptline 30'' for exemple.. (or any other line where u are in the hunting place)
also u can use labels...
i dont know how it works exactly but its something like this:

:depot (ur script to from hunting place to depot and back)
:hunting (ur script at the hunting place)
:safe (ur script about what to do mhen in danger)
and so on.... so u can tell ur script something like when cap is under 10 go to :depot
when cap is above 10 go to :hunting
when health is below 25% go to :safe


hope it helps... im trying it myself a lot a.t.m :)

plz correct me if i am wrong!! :cool: