resting after skill cast

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Gilbert
Posts: 2
Joined: Wed May 12, 2010 12:50 pm

resting after skill cast

#1 Post 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.
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: resting after skill cast

#2 Post by Administrator »

Gilbert
Posts: 2
Joined: Wed May 12, 2010 12:50 pm

Re: resting after skill cast

#3 Post 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..
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: resting after skill cast

#4 Post by Administrator »

COMBAT_DISTANCE
Post Reply