Page 1 of 1

Temp Friend

Posted: Thu Oct 28, 2010 3:42 pm
by Binafus
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.

Re: Temp Friend

Posted: Thu Oct 28, 2010 4:58 pm
by Administrator
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;

Re: Temp Friend

Posted: Thu Oct 28, 2010 5:38 pm
by Binafus
Thanks for the help.

Re: Temp Friend

Posted: Fri Oct 29, 2010 4:32 am
by botje
would this result in setting the waypoint deviation?

Code: Select all

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

Re: Temp Friend

Posted: Fri Oct 29, 2010 6:37 pm
by rock5
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)