Page 1 of 1

looking for somthing

Posted: Mon Dec 06, 2010 5:25 pm
by wizzyslo
I'm looking where to write it speical function. Function need to be checking all the time in waypoint or only in combat. Can be in waypoint as normal function but need to run it all the time and bot need to cast spells all the time. Was thinking about "while" but then bot dont cast anything and doing only "while" loop.
At start i was thinking samething as "<onLeaveCombat>" but need to be in combat.
Hope you understand what i'm looking for :D and i would be rly happy for advice.

Re: looking for somthing

Posted: Mon Dec 06, 2010 8:58 pm
by jduartedj
wizzyslo wrote:I'm looking where to write it speical function. Function need to be checking all the time in waypoint or only in combat. Can be in waypoint as normal function but need to run it all the time and bot need to cast spells all the time. Was thinking about "while" but then bot dont cast anything and doing only "while" loop.
At start i was thinking samething as "<onLeaveCombat>" but need to be in combat.
Hope you understand what i'm looking for :D and i would be rly happy for advice.

the best I can think of is you do a function of your own todo that and run it in every waypoint you want it to run! You can use macros to repeat to the other waypoints instead of doing it manually.

Re: looking for somthing

Posted: Mon Dec 06, 2010 9:24 pm
by rock5
wizzyslo wrote:At start i was thinking samething as "<onLeaveCombat>" but need to be in combat.
Maybe you could use <onSkillCast>?

Re: looking for somthing

Posted: Tue Dec 07, 2010 3:36 am
by wizzyslo
At first i was thinking about function but I'm not good with writing function never works. I can write some easy macros that is it :|


Is <onSkillCast> works only at start casting on all the time when skill is casting becouse if priest going to cast group heal somethimes that skill need to be interrupted and bot need to do something else.

Re: looking for somthing

Posted: Tue Dec 07, 2010 5:40 am
by rock5
wizzyslo wrote:At first i was thinking about function but I'm not good with writing function never works. I can write some easy macros that is it :|


Is <onSkillCast> works only at start casting on all the time when skill is casting becouse if priest going to cast group heal somethimes that skill need to be interrupted and bot need to do something else.
No, it's after it's finished casting.

Re: looking for somthing

Posted: Tue Dec 07, 2010 9:00 am
by jduartedj
wizzyslo wrote:At first i was thinking about function but I'm not good with writing function never works. I can write some easy macros that is it :|


Is <onSkillCast> works only at start casting on all the time when skill is casting becouse if priest going to cast group heal somethimes that skill need to be interrupted and bot need to do something else.
You're talking about <preSKillCast>!

Re: looking for somthing

Posted: Wed Dec 08, 2010 4:13 pm
by wizzyslo
Will test <preSkillCast> and <onSkillCast> it when i have time.