|
I'm using Dharokzpkz Isle (Bulby) and when i'm at wildy there isn't any attack option
When i'm at wild and click follow on a player i don't follow i attack.
And here's the code :
What do i need to put?Code:if(AtClanField() || AtDuel() || AtPits()) { frames.setPlayerOption(this, "Attack", 1); } else { frames.setPlayerOption(this, "Follow", 1); }
I tried AtWildy() , AtWild() but didn't work >.<
I tried this :
and this :Code:if(AtClanField() || AtDuel() || AtPits() || AtWild())
I also triedCode:if(AtClanField() || AtDuel() || AtPits() || AtWildy())
But still didn't workCode:if(AtClanField() || AtDuel() || AtPits() || AtwildernessArea())
EDIT : Fixed it
Ok what did you haves to do?
Code:public void checkForAttackOption() { if (showAttackOption != Engine.wildernessArea(absX, absY)) { showAttackOption = Engine.wildernessArea(absX, absY); if (showAttackOption) { frames.setPlayerOption(this, "Attack", 1); } else { frames.setPlayerOption(this, "Duel", 1); } } } checkForAttackOption();
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |