>The only thing I would change here, is chaging some globals into functions.
Hm like which ones? a function for the AOE would make sense though, i'll get to that.
>So much hybrid stuff :X
Hybrid? whats the mean lol.
Theres nothing wrong with [lJASS]GroupPickRandomUnit[/lJASS] is you really want to pick random unit.
lols.
edit. Then again your group usage sucks terribly. Thanks to Jesus4Lyf, I can now just give you a link without having to explain all this stuff again.
Thats cool.
edit2. Also you dont really have to create sounds alla time and destroy them. If you need to play many sounds of same itype at same time, you should just have some sound array for that.
edit3. Your texttag function leaks a texttag [lJASS]if u == null[/lJASS]
( Actually, Im not sure if texttags can even leak, since they act very differently from all the other handles and weird stuff like that. Havent tested that stuff. Anyways, its a easy fix with no downsides, so you should fix it indeed. )
>Theres nothing wrong with GroupPickRandomUnit is you really want to pick random unit.
Yea thats what I thought before >< I suppose i could add it back; it'd make the code shorter anyways.
>edit. Then again your group usage sucks terribly. Thanks to Jesus4Lyf, I can now just give you a link without having to explain all this stuff again.
Interesting. I'll look into that.
>edit2. Also you dont really have to create sounds alla time and destroy them. If you need to play many sounds of same itype at same time, you should just have some sound array for that.
I don't get what you mean. Example please.
>edit3. Your texttag function leaks a texttag if u == null
( Actually, Im not sure if texttags can even leak, since they act very differently from all the other handles and weird stuff like that. Havent tested that stuff. Anyways, its a easy fix with no downsides, so you should fix it indeed. )
Bump.
The terrible group usage is fixed now, I think. ><
Can someone verify that the method for setting .randomu to a random unit is correct? Just want to make sure.
Fixed the texttag leak if [lJASS]u==null[/lJASS]
Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
@tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences