-
Posts
13 -
Joined
-
Last visited
-
Feedback
0%
Profile Information
-
Gender
Male
Warpclaw's Achievements
Newbie (1/10)
1
Reputation
-
Nezz because he has been so helpful on Skype considering it's my first time writing a script and its a Pest Control script, so he showed me a lot of the baby steps and things I could not find in the tutorials such as what some of the API methods do and what not. If it wasn't for him, I don't think I would have been able to finish my script so thank you Nezz!
-
Wow I know that and I meant to post it there but I guess I had the wrong tab open lol sorry! Thanks though! InteractionEvent seems very promising but I don't know how to use it. Does it activate when my player starts interacting with the monster? I think I can make good use of it if that's the case
-
Well I think this is an issue built into the client's API itself but I will ask anyways, is there anyway to implement something that will override the bots natural instinct to make the camera angle as low as possible when interacting with a monster?
-
Yeah but there are different ID's for shifters which is why I make sure it is a new variable each time it checks haha. I'm still extremely new to scripting so I'm not sure how to do a null check/prevent the NPE's. But the script is running flawlessly atm
-
Thanks so much for the help guys! It worked It's giving nullpointer exceptions when there arent any shifters but I'm not worried about that :3
-
myPlayer().isInteracting(Shifter) I used that, but since there are more than one shifters, its going to return that it isnt theres a shifter that isnt being intereacted with.
-
Well I am basically done with my Pest Control script (which will be free), but the only issue I am having is that it will try to attack shifters until no tomorrow. This is because the myPlayer().isUnderAttack() wont work since the shifters in pest control wont be attacking you. And I cant make it so shifter.isUnderAttack() since it wont attack the shifter since other players will be attacking it. I want to be able to make it so that if I am attacking a shifter, regardless of whether I am being attacked or the shifter is being attacked by other players, the script wont try to attack another shifter since the script will recognize that shifter as a shifter that is available to attack. The script will stop attacking the shifter I'd be currently attacking and will attack another one that is closer since I have npcs.getClosest("Shifter"). Thanks!
-
I added you swizzbeat but still don't see me added =/ I have a Pest Control script that is basically done that needs some testers so would like to share that in the scripting group
- 28 replies
-
- Beginner
- Intermediate
-
(and 1 more)
Tagged with: