Jump to content

Recommended Posts

Posted

This may not be possible, which might be why I'm having trouble, but I figured I'd ask the gurus here just in case.

 

I know a lot of people have a custom targeting bind that targets surgeons/sappers/etc first and then if none of those exist to be targets, it just does targetenemynear.  So, I had a thought after playing my HEATs who use custom bind files to trigger forms, swap trays, etc.  I thought "maybe i can try to combine the two of these things so that if I ever need to update the bind, i can just update the bind file instead of having to update a bind on all of my characters"

 

so, I put together a bind file called Targets.txt, in my Homecoming\settings\live folder and put the following text in there:

 

$$targetenemynear$$targetcustomnear enemy alive fungi$$targetcustomnear enemy alive quartz$$targetcustomnear enemy alive Cairn$$targetcustomnear enemy alive surgeon$$targetcustomnear enemy alive sapper

 

I then jumped on one of my characters to try this out,  so I bound c to bindloadfilesilent Targets.txt, thinking that like my HEAT binds, this would work.  I run to Cimerora's wall, hit "c" and... nothing.  so I try to debug by re-binding c to bindloadfile Targets.txt to see what it was outputting.  In my chat box, I see the following:

 

image.png.113db9b84da590f484153e82ac25e810.png

 

Which (i assume) looks correct, but i'm still not actually firing the commands.

 

Is this doable?

What this team needs is more Defenders

Posted

The first command executes and then the rest don't. It successfully executed and found no targets to select. It didn't fail to execute; and only if it fails to execute does the next one in the command string get tried.

 

This is different that, say, trying to turn on a toggle that's already on. powexectoggleon fails to execute if the toggle is already on. targetcustomnear doesn't fail to execute if there are no matching entities for it to find, it only determines there aren't any after it successfully executes and does the search through all the mobs in view.

 

Does this help?

Posted

I see, so since there's no sapper in range, it just stops working... so, how do people do these binds that target from a list of custom enemies?

What this team needs is more Defenders

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...