Jump to content
  • 2

No attacking with Interact



1 answer to this question

Recommended Posts

  • 0

Attacking and Interacting seem fairly interwoven from a quick glance, but if anyone wants to take a crack at it while I'm out today..


The interaction and attack sequence starts in Intersect.Client.Entities.Player in the method Update().

if (Controls.KeyDown(Control.AttackInteract))
    if (!Globals.Me.TryAttack())
        if (Globals.Me.AttackTimer < Globals.System.GetTimeMs())
            Globals.Me.AttackTimer = Globals.System.GetTimeMs() + Globals.Me.CalculateAttackTime();



Okay, figured something out after I came back. Wasn't too difficult to do. :)



Download Patch


NOTE: This will disable NPC melee attacks as well!

Link to comment
Share on other sites

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...