spec2342
05-11-2012, 01:06 AM
Hey guys!
I'm not a great scripter but I have fun with it, and I'm just a little stuck with conveying some ideas into code.
Would somebody please be able to point me to a relevant tutorial or perhaps sneak a little code to start me off with the idea? Any time or effort would be greatly appreciated.
I'm building a bandit bot with full guthaning switching, and the script is quite flawless if you were able to hold a spot without crashers. It isn't too much of an issue without a procedure to attack the bandits however I feel it would be a great inclusion to keep xp/hr up and anti-ban.
This would be easy for myself to implement if i included walking to the script, however I would rather stay away from that as it currently will work for hours.
What I'm looking for is code to ensure that the bandit that i'm attacking is either 1 step north, south, west or east of the player (ObjectDTM????).
I'm not a great scripter but I have fun with it, and I'm just a little stuck with conveying some ideas into code.
Would somebody please be able to point me to a relevant tutorial or perhaps sneak a little code to start me off with the idea? Any time or effort would be greatly appreciated.
I'm building a bandit bot with full guthaning switching, and the script is quite flawless if you were able to hold a spot without crashers. It isn't too much of an issue without a procedure to attack the bandits however I feel it would be a great inclusion to keep xp/hr up and anti-ban.
This would be easy for myself to implement if i included walking to the script, however I would rather stay away from that as it currently will work for hours.
What I'm looking for is code to ensure that the bandit that i'm attacking is either 1 step north, south, west or east of the player (ObjectDTM????).