Fran 99 Share Posted February 15, 2015 Hi Guys, hope you're all doing well. I am a new scripter and would like to understand why do all scripts have to extend AbstractScript? And what is exactly AbstractScript? Thanks in advance. Regards. Link to comment Share on other sites More sharing options...
Notorious 341 Share Posted February 15, 2015 Hi Guys, hope you're all doing well. I am a new scripter and would like to understand why do all scripts have to extend AbstractScript? And what is exactly AbstractScript? Thanks in advance. Regards. AbstractScript is what allows writers to actually write scripts for the client by providing variables, accessors, and methods to the writer. This paired with a @ScriptManifest annotation allows the script to recognized by the client so that you may load the script locally. The reason for the name, is because of the type of Class it is. AbstractScript is exactly how it sounds, a abstract class which is used by extending it in other classes of scripts such as TaskScript, and also allows you to extend the class overriding the provided methods such as onStart() , onLoop(), and onPaint() to create a script. I hope this answers some of your questions! Vlad and Fran 2 Link to comment Share on other sites More sharing options...
Recommended Posts