What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Make other players enemies

hellokutty

New Member
Joined
Sep 6, 2014
Messages
57
Reaction score
1
How would I set trinity to consider other players in the party as enemies and of course start attacking them?

This is not for brawling, but just in general. anyone know?
 
The only place you can fight is inside the brawling place. You cant attack other players unless you are in the brawling zone
 
The only place you can fight is inside the brawling place. You cant attack other players unless you are in the brawling zone
I know, I know. But I would still like a edit to trinity to make it think that other players are enemies and therefore attempt to attack them and do their routine on them. I know they wouldn't die, but the bot wouldn't know that.

I have my reasons for this!
 
I know, I know. But I would still like a edit to trinity to make it think that other players are enemies and therefore attempt to attack them and do their routine on them. I know they wouldn't die, but the bot wouldn't know that.

I have my reasons for this!

Try add in Weighting.cs after 130 line (before "case TrinityObjectType.Unit:"):

Code:
case TrinityObjectType.Player:
       if (cacheObject.RActorGuid != Player.RActorGuid)
       {
             cacheObject.Weight = MaxWeight - cacheObject.Distance - 100;
             break;
       }

I assume that it should be some kind of "follow" mode.
 
Last edited:
Back
Top