DrizzyBot Posted January 16, 2018 Share Posted January 16, 2018 Hi there. Is there anyway to read the chat that's above an NPC's head? Unfortunately it doesn't show in the chatbox so I can't use the messageListener. Here's a screenie of what I mean: Quote Link to comment Share on other sites More sharing options...
Chris Posted January 16, 2018 Share Posted January 16, 2018 Character.getHeadMessage() ? https://osbot.org/api/org/osbot/rs07/api/model/Character.html#getHeadMessage-- always read the api Quote Link to comment Share on other sites More sharing options...
DrizzyBot Posted January 16, 2018 Author Share Posted January 16, 2018 31 minutes ago, Chris said: Character.getHeadMessage() ? https://osbot.org/api/org/osbot/rs07/api/model/Character.html#getHeadMessage-- always read the api Ah, I was looking through the NPC API. Thanks bud! Quote Link to comment Share on other sites More sharing options...
Chase Posted January 16, 2018 Share Posted January 16, 2018 9 hours ago, Chris said: Character.getHeadMessage() ? https://osbot.org/api/org/osbot/rs07/api/model/Character.html#getHeadMessage-- always read the api The Api is massive at this point, and especially with the naming sometimes it gets really confusing. There has been times I've recreated the wheel, because I couldn't locate functionality in the api. Wish there was better documentation </3 Quote Link to comment Share on other sites More sharing options...
HunterRS Posted January 16, 2018 Share Posted January 16, 2018 7 hours ago, withoutidols said: The Api is massive at this point, and especially with the naming sometimes it gets really confusing. There has been times I've recreated the wheel, because I couldn't locate functionality in the api. Wish there was better documentation </3 The API docs are great. You just need to put in the time to learn it. You will never have an api that just gives you exactly what you need when you need it. You need to learn it and practice it. It is a program like anyother and only with practice you will get better at using it and knowing it. Quote Link to comment Share on other sites More sharing options...
Apaec Posted January 16, 2018 Share Posted January 16, 2018 9 hours ago, withoutidols said: The Api is massive at this point, and especially with the naming sometimes it gets really confusing. There has been times I've recreated the wheel, because I couldn't locate functionality in the api. Wish there was better documentation </3 Sometimes when you can't find something it's worth f3'ing the Index with guesses at method names, lol. The API is very extensive so getting accustomed to it can take a little while, you'll get there! Apa Quote Link to comment Share on other sites More sharing options...
Chase Posted January 17, 2018 Share Posted January 17, 2018 18 hours ago, HunterRS said: The API docs are great. You just need to put in the time to learn it. You will never have an api that just gives you exactly what you need when you need it. You need to learn it and practice it. It is a program like anyother and only with practice you will get better at using it and knowing it. 16 hours ago, Apaec said: Sometimes when you can't find something it's worth f3'ing the Index with guesses at method names, lol. The API is very extensive so getting accustomed to it can take a little while, you'll get there! Apa Valid points, probably is more my fault than the api's. I think most of the confusion goes hand and hand with how fucking vast Runescape vocabulary is 2 Quote Link to comment Share on other sites More sharing options...