Page 1 of 1

resting after skill cast

Posted: Wed May 12, 2010 1:03 pm
by Gilbert
Hello

I would like the bot to wait for the mob to engage it, insetead of running towards it, after using a ranged pull skill in the start of a fight. How could i do this most conviently? Something i tried was using the player rest command in the on_skill_cast event after casting scout_vampire_arrow, but i probly got the commands wrong and just got errors.. The reason im asking this is that the problem with "must face target to attack" seems to occur when the bot and mob run toward eachother, but never when a mob engages.

Re: resting after skill cast

Posted: Wed May 12, 2010 3:27 pm
by Administrator

Re: resting after skill cast

Posted: Thu May 13, 2010 9:09 am
by Gilbert
Thx for the answer but i still dont get the bot to do the desired behaviour..
This is what i have in my profile:


<onSkillCast><![CDATA[
if( arg1.Name == "SCOUT_VAMPIRE_ARROWS" ) then
player:rest(5);
end
]]></onSkillCast>

But it still most of the time just charges the mob after casting VA..

Re: resting after skill cast

Posted: Thu May 13, 2010 3:03 pm
by Administrator
COMBAT_DISTANCE