-
Posts
21 -
Joined
-
Last visited
-
Feedback
0%
Profile Information
-
Gender
Male
rooney's Achievements
Bronze Poster (2/10)
4
Reputation
-
Can I have a free trial please?
-
Oof it's been awhile. Well from what I remember, the script was fantastic!
-
Can I have a free trial as well
-
Can i have a trial on the agility script?
-
Hi there, can I have a trial please?
-
Hi there, can I have a trial please?
-
Can I have a trial por favor?
-
Loving it thus far!
-
Can I pass parameters through the command line? If so, do you mind giving an example?
-
Khaleesi, my queen, may I have a trial?
-
Ooo thank you very much! Now I understand inheritance much better. I didn't see the closest() method because I was only looking at the methods that were specific to each class, though all of these classes (grounditem, npc etc.) are subclasses of the Entity class. Can you clarify what you mean by having to pass the Script object? Currently I am working on my first script and I have only one class file. I assume you mean something about having separate class files. Would the Script object be passed into the constructor? So something like druidKiller(Script sA)?
-
Which methods do I utlize to create instances of GroundItems/other entities? I am trying to create an object for a bank-booth, an attackable NPC and an item on the ground. In OSbot 1 these methods look like: GroundItem herb = SomeClass.closestGroundItemForName("Herb") NPC druid = SomeClass.closestAttackableNPCForName("Chaos druid") etc. I look forward to your guys' help, in the mean time I'm going to dive back in to the API docs to see if I can find an answer