I'm used to using the GUI as well and can get around pretty fast in it. More just thinking so I can write scripts when away from my gaming computer such as on my laptop on the train or even on paper when I don't have access to my computer with SC2 on it. which happens a lot of the time.
Also I love it when someone picks the origin of my name. Usually I just go by turtles these days so nobody knows. :)
What is the best way to code using the scripting language instead of the GUI?
A long time ago I found some methods online but they were very tedious and time consuming and I can no longer find the links online. A lot of the time I find myself making only changes to a few lines of code and then running it to see the output so any overhead in getting the script to run builds up very quickly.
I know there is an action in the GUI called custom script where you can place text. I've had to do that before to access things which are not available through the GUI but are there any limitations to that function? can you define and call functions through it? Is there a limit to how long it can be? for example if I had 10 thousand lines of code could I just place the entire program in a single "custom script" block in the GUI?
Thanks.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Thanks for the heads up MasterWrath. I might soon be embarking on a large project that will require this kind of stuff.
It's a mystery to me why this kind of thing isn't listed in some kind of Blizzard information or tutorial.
I'm used to using the GUI as well and can get around pretty fast in it. More just thinking so I can write scripts when away from my gaming computer such as on my laptop on the train or even on paper when I don't have access to my computer with SC2 on it. which happens a lot of the time.
Also I love it when someone picks the origin of my name. Usually I just go by turtles these days so nobody knows. :)
What is the best way to code using the scripting language instead of the GUI?
A long time ago I found some methods online but they were very tedious and time consuming and I can no longer find the links online. A lot of the time I find myself making only changes to a few lines of code and then running it to see the output so any overhead in getting the script to run builds up very quickly.
I know there is an action in the GUI called custom script where you can place text. I've had to do that before to access things which are not available through the GUI but are there any limitations to that function? can you define and call functions through it? Is there a limit to how long it can be? for example if I had 10 thousand lines of code could I just place the entire program in a single "custom script" block in the GUI?
Thanks.