reddit123 0 Share Posted December 13, 2016 Trying to create a tutorial island script and I need to use the MessageListener due to the character always being in a dialogue box. How do you set it up? I know it's an interface but I'm derping right now and don't know what to do. Link to comment Share on other sites More sharing options...
Im A Baller 348 Share Posted December 13, 2016 Trying to create a tutorial island script and I need to use the MessageListener due to the character always being in a dialogue box. How do you set it up? I know it's an interface but I'm derping right now and don't know what to do. why do you need to use MessageListener? If you don't plan on using Dialogues (through getDialogues()), then you should probably just use widgets. Link to comment Share on other sites More sharing options...
reddit123 0 Author Share Posted December 13, 2016 why do you need to use MessageListener? If you don't plan on using Dialogues (through getDialogues()), then you should probably just use widgets. I tried to use Dialogue but on tutorial island your always in a dialogue so my while loops would always get stuck. Link to comment Share on other sites More sharing options...
Im A Baller 348 Share Posted December 13, 2016 I tried to use Dialogue but on tutorial island your always in a dialogue so my while loops would always get stuck. don't use a while loop - that makes it very easy for the bot to get stuck. if you have a getState(), return a value when necessary and let it go through the getState() again Link to comment Share on other sites More sharing options...
reddit123 0 Author Share Posted December 13, 2016 don't use a while loop - that makes it very easy for the bot to get stuck. if you have a getState(), return a value when necessary and let it go through the getState() again I have a state. Thanks. I completely overlooked that Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.