Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

quasimodo

Detect if Target is mounting up

Recommended Posts

Hello,

I'm working on a WRotation fight class for a Shaman, that is set on /follow and always targets the Main Char. I want it to look like its a multiboxing char, that uses totems and heals.

I cant figure a way for the Shaman to mount up when the Main Char Mounts up. I already Tried "Target Casting Spell by Name" ... This doesnt work. I guess this is due to the mount is considered an item and not a Spell.
This seems like an easy task, but smh I cant find a solution.

Any Ideas?

Share this post


Link to post
Share on other sites
5 hours ago, quasimodo said:

Hello,

I'm working on a WRotation fight class for a Shaman, that is set on /follow and always targets the Main Char. I want it to look like its a multiboxing char, that uses totems and heals.

I cant figure a way for the Shaman to mount up when the Main Char Mounts up. I already Tried "Target Casting Spell by Name" ... This doesnt work. I guess this is due to the mount is considered an item and not a Spell.
This seems like an easy task, but smh I cant find a solution.

Any Ideas?

Have you tried buffname?

Share this post


Link to post
Share on other sites
15 hours ago, Smokie said:

Have you tried buffname?

Yes this works, but not the way I want to. I want to make both chars use their Mounts at the same time, so it looks like its controled by a multiboxing macro.

15 hours ago, Ordush said:

Try reinstalling wrobot into a new folder, because party is supposed to auto mount up if leader does it.

Im not using Party, im using WRotation. Party often looks "fake" and the Party-controled char is attacking the Mob. I don't want that

Share this post


Link to post
Share on other sites

hello,

In "Dev... tools" tab "Tools" click on button "Target info". Check "CastingSpellId" and "CastingSpell", if this don't help you can only check when character is mounted with "IsMounted".

You can use it in fightclass editor with "CSharp condtion" like:

wManager.Wow.ObjectManager.ObjectManager.Target.IsMounted
//  OR
wManager.Wow.ObjectManager.ObjectManager.Target.CastingSpell.Name == "Name in Engish"
//  OR
wManager.Wow.ObjectManager.ObjectManager.Target.CastingSpellId == 1234

 

Share this post


Link to post
Share on other sites

I understand now what it is he wants.
He wants both of them to mount up at the same exact time, and not get the second char to cast mount when the other char has cast it. He basically wants it to look like he is mutli-boxing.
The only way you can do that is by using chat commands, reading from an external file etc.
I'd suggest you take a look at chat commands it's somewhere here on the forum
Then you make player A write in chat then cast mount
player B cast mount if chat message.
That way you will get as close as mounting at the same time as you can.

Share this post


Link to post
Share on other sites
On 4/25/2020 at 12:17 PM, Ordush said:

I understand now what it is he wants.
He wants both of them to mount up at the same exact time, and not get the second char to cast mount when the other char has cast it. He basically wants it to look like he is mutli-boxing.
The only way you can do that is by using chat commands, reading from an external file etc.
I'd suggest you take a look at chat commands it's somewhere here on the forum
Then you make player A write in chat then cast mount
player B cast mount if chat message.
That way you will get as close as mounting at the same time as you can.

This is exactly what I need, although this might become obvious, even if you use your own Channel or whispers...  Thanks fhe help!

Share this post


Link to post
Share on other sites
On 4/25/2020 at 8:32 AM, Droidz said:

hello,

In "Dev... tools" tab "Tools" click on button "Target info". Check "CastingSpellId" and "CastingSpell", if this don't help you can only check when character is mounted with "IsMounted".

You can use it in fightclass editor with "CSharp condtion" like:

wManager.Wow.ObjectManager.ObjectManager.Target.IsMounted
//  OR
wManager.Wow.ObjectManager.ObjectManager.Target.CastingSpell.Name == "Name in Engish"
//  OR
wManager.Wow.ObjectManager.ObjectManager.Target.CastingSpellId == 1234

 

Is it possible to use something similar to get a bot to only cast if the targets name matches one specified as a condition, I am able to get it to cast at the target!! That's not the problem, the issue is that it checks all party members for specified conditions and the  player name is not one of the conditions so it repeat casts on the named target as it returns true.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...