EQ2StayFollow

bjcasey

ISX Specialist
Version 0.1 Updated: 01/15/10

Created By: bjcasey
Coached By: Hendrix, OgreB and Kannkor

Description:

Keeps a character on auto follow by spam clicking /follow.

Usage:

run eq2stayfollow
endscript eq2stayfollow

Going to be updating a few things when I get some time.

NOTE: Create a folder called EQ2StayFollow in your scripts folder. Copy the .iss into that folder. Create another folder called UI in the EQ2StayFollow folder. Copy the .xml into that folder.

UPDATE: Code changes to integrate eq2stayfollow into EQ2BotCommander and point and click. (Thanks to bob_the_builder)

http://www.isxgames.com/forums/showpost.php?p=23588&postcount=39
 

Attachments

Last edited:

Valerian

ISX Specialist
Slightly modified/tweaked and checked in to svn. Closing window will now end script, ending script will now unload/close window.
 

bob_the_builder

Well-Known Member
So here is what I have so far for eq2botcommander but it doesn't seem to be sending the ${followname}

Code:
<Button name='AlwaysFollow'>
  <X>70</X>
  <Y>190</Y>
  <Width>80</Width>
  <Height>20</Height>
  <AutoTooltip>Starts EQ2StayFollow</AutoTooltip>
  <Text>Start</Text>
  <OnLeftClick>Script[EQ2BotCommander].Variable[AlwaysFollow]:Set[TRUE]</OnLeftClick>
 </button>
<Text Name='Follow Name Text'>
 <X>10</X>
 <Y>170</Y>
 <Width>100</Width>
 <Height>20</Height>
 <Alignment>Left</Alignment>
 <Text>Character to follow:</Text>
 </Text>
 <Textentry Name='followname'>
 <X>120</X>
 <Y>170</Y>
 <Width>80</Width>
 <Height>15</Height>
 <Color>FFDDBB00</Color>
 <MaxLength>12</MaxLength>
  <OnChange>Script[EQ2BotCommander].Variable[followname]:Set[${UIElement[followname@Main@EQ2StayFollow@EQ2StayFollow].Text}]</OnChange>					
</Textentry>

Code:
variable bool AlwaysFollow=FALSE
Code:
function AlwaysFollow()
{
	if ${AlwaysFollow} == FALSE
	{
		UIElement[EQ2Botcommander].FindChild[GUITabs].FindChild[Formation].FindChild[AlwaysFollow].Font:SetColor[FF32CD32]
		AlwaysFollow:Set[TRUE]
		relay "all other" "RunScript eq2stayfollow/eq2stayfollow ${followname}"
	}
	else
	{
		UIElement[EQ2Botcommander].FindChild[GUITabs].FindChild[Formation].FindChild[AlwaysFollow].Font:SetColor[FFFF0000]
		AlwaysFollow:Set[FALSE]
		relay "all other" "endscript eq2stayfollow"
	}
}
Any help appreciated.

Bob
 

wired203

Active Member
the textbox is kinda a messy to go about it, personally I would just assign it to the current target. So target who you wanna have be super followed and then click the button. Quicker way to change who you want the follow to work than typing in the name all the time.
 

bob_the_builder

Well-Known Member
the textbox is kinda a messy to go about it, personally I would just assign it to the current target. So target who you wanna have be super followed and then click the button. Quicker way to change who you want the follow to work than typing in the name all the time.
Ahh right like the original follow on the eq2botcommander, I like that. I think this line is what I might have wrong:

Code:
<OnChange>Script[EQ2BotCommander].Variable[followname]:Set[${UIElement[followname@Main@EQ2StayFollow@EQ2StayFollow].Text}]</OnChange>
Should I be changing that line to send the 'target' through to eq2stayfollow?

Bob
 

bjcasey

ISX Specialist
This was my first script and first attempt at doing anything coding related so things are going to be slow to be updated as I'm still learning how to do things. I'll try to find some time to make the changes you guys are asking for this weekend.
 
Top Bottom