I guess so, but gui does by far not allow as much flexebility as jass, so it could turn into ugly and long code.
Furthermore he uses 2 other resources which do work for him, in gui you would need to script it all yourself which is again more pain³.
Libraries like he did are supposed to be easy imported. You only have to learn it once how to use it, and then there you go.
People share their libraries so you don't have to write same systems over and over again... so we must use it.
So finaly I think your answer sound "yes", but might be much some work and result in huge and ugly code.
Better would maybe be to try to get his system work and when problems occur directly to ask him to help to implement it.
Command doesn't work if you write exactly what is printed to spawn units.
I guess you also will adjust the tooltip to the correct values?
And a small tip: only use variable[array] if it's really needed. Else try to avoid them. I won't tell you exactly where I mean, but you will find out yourself if you check triggers.
Also it's always cool when the testing is as easy and simple as possible.
Good luck! Let's see how many final entries we will get there
I guess you know how to import a jass code? If not:
1.[c] Create new GUI trigger.[r]
2.[c] Convert the trigger into custom text.[r]
3.[c] Delete everything in it.[r]
4.[c] Copy & Paste the vJASS code into it --> done.[/stable]
If you have done so you just can use it for killing trees like this:
[stable]Destructible - Pick every destructible within 256.00 of Point and do (Actions)
Schleifen - Aktionen
Custom script: call KillTree(GetEnumDestructable())
So you would need a custom script to call the function of the imported library, but it checks automatically if it's a tree or not.
And there are more systems out there, but it's not really important which you use it they make your life easier and worsk properly. :csmile:
I think it is I am Legionaire. not sure, just check the thread to be sure. Also have some patience, the workshop is a bit slow, I'm away from it a bit and I left 2 of my members in place, check the first page to know.