Temp Friend

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Binafus
Posts: 23
Joined: Thu Jul 09, 2009 1:22 pm

Temp Friend

#1 Post by Binafus » Thu Oct 28, 2010 3:42 pm

Is there a command inside a waypoint file to make a mob to be considered a friend for several waypoints then a way to remove it?

changeprofileoption <friend name="Rabbit" />

changeprofileoption REMOVE <friend name="Rabbit" />

Thanks for any help in advance.

User avatar
Administrator
Site Admin
Posts: 5307
Joined: Sat Jan 05, 2008 4:21 pm

Re: Temp Friend

#2 Post by Administrator » Thu Oct 28, 2010 4:58 pm

Add it to your friend list by adding this code within a waypoint:

Code: Select all

table.insert(settings.profile.options.friends, "namehere");
Remove it from the friend list by adding this code within a waypoint:

Code: Select all

settings.profile.options.friends["namehere"] = nil;

Binafus
Posts: 23
Joined: Thu Jul 09, 2009 1:22 pm

Re: Temp Friend

#3 Post by Binafus » Thu Oct 28, 2010 5:38 pm

Thanks for the help.

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Temp Friend

#4 Post by botje » Fri Oct 29, 2010 4:32 am

would this result in setting the waypoint deviation?

Code: Select all

<!-- #  2 --><waypoint x="4630" z="20728">	settings.profile.options.WAYPOINT_DEVIATION = 0</waypoint>

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Temp Friend

#5 Post by rock5 » Fri Oct 29, 2010 6:37 pm

botje wrote:would this result in setting the waypoint deviation?

Code: Select all

<!-- #  2 --><waypoint x="4630" z="20728">	settings.profile.options.WAYPOINT_DEVIATION = 0</waypoint>
I'm not sure if that's right, probably is.

But seeing as WAYPOINT_DEVIATION is in the 'options' section you can use,

Code: Select all

changeProfileOption("WAYPOINT_DEVIATION",0)
  • 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.”
          • Ronald Reagan

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest