-
wizzyslo
- Posts: 119
- Joined: Sun Nov 01, 2009 6:09 pm
#1
Post
by wizzyslo » Mon Dec 06, 2010 5:25 pm
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
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
and i would be rly happy for advice.
-
jduartedj
- Posts: 599
- Joined: Sat Dec 19, 2009 12:18 am
- Location: Lisbon
-
Contact:
#2
Post
by jduartedj » Mon Dec 06, 2010 8:58 pm
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
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
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.
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#3
Post
by rock5 » Mon Dec 06, 2010 9:24 pm
wizzyslo wrote:At start i was thinking samething as "<onLeaveCombat>" but need to be in combat.
Maybe you could use <onSkillCast>?
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
wizzyslo
- Posts: 119
- Joined: Sun Nov 01, 2009 6:09 pm
#4
Post
by wizzyslo » Tue Dec 07, 2010 3:36 am
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.
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#5
Post
by rock5 » Tue Dec 07, 2010 5:40 am
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.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
jduartedj
- Posts: 599
- Joined: Sat Dec 19, 2009 12:18 am
- Location: Lisbon
-
Contact:
#6
Post
by jduartedj » Tue Dec 07, 2010 9:00 am
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>!
-
wizzyslo
- Posts: 119
- Joined: Sun Nov 01, 2009 6:09 pm
#7
Post
by wizzyslo » Wed Dec 08, 2010 4:13 pm
Will test <preSkillCast> and <onSkillCast> it when i have time.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 0 guests