zxcharyy 0 Share Posted January 5, 2021 Hello, I am new to scripting with dreambot and I was just curious what people find to work better, Nodes or Switch statements with their scripts? Is it more personal preference or do you find that one method seems to work better than the other? Just curious because I have never programmed using Nodes but I would like to learn if it is more efficient / better in the long run. Link to comment Share on other sites More sharing options...
TheCloakdOne 389 Share Posted January 5, 2021 Switch statements tend to become a bit cumbersome after your script becomes a certain size, personally i use a priority tree system but use whatever your most comfortable with Link to comment Share on other sites More sharing options...
Pseudo 179 Share Posted January 5, 2021 As Cloakd said it's generally down to preference. But if you're creating a big project, then a decent framework/code structure is key to writing a script you can work with comfortably. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.