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

[Plugin] Call Stop to Profile till Condition = True

Zoinx

Active Member
Joined
Mar 8, 2010
Messages
727
Reaction score
25
Need help with this:
Code:
            //CombatOff if outside Dank Cellar
            if (ZetaDia.CurrentWorldDynamicId == 1999503360 && !hasDied)
            {
                //CombatOn if Unit is in 15 range and Player is casting Town Portal
                if (IsUnitNear() && ZetaDia.Me.CommonData.AnimationState == AnimationState.Casting)
                {
                    CombatOn();
                }
                CombatOff();
            }
I need it to call a StopProfile() until IsUnitNear() = false.
 
Back
Top