Use it or not. If you prefer larger blocks of code accomplishing the same thing, thus creating a larger download and less streamlined trigger, be my guest. Comparing WC3 to SC2 is like comparing Age of Empires to SC2. Sure, they look similar, but behind SC2 lies an entirely different engine, built to alleviate thousands of frustrations brought up in previous times. If your coding is truly based on an experience from WC3, I'm dumbfounded as to how you accomplish even a line in SC2...
Also, while you're nit picking, it would be more than three lines due to more than just "wait". Personally, I've never considered clicking a button coding (and thus wouldn't say a "while" or "wait" are coding, especially considering in this example there is literally zero coding required to obtain the integer used for the "wait" function call), but if it makes you feel better, call it what you'd like.
Hey all,
Just thought I'd share how I made a healing aura in about 30 seconds. Searched, couldn't find this same solution, sorry if it's a duplicate.
Works with proximity triggers as well. Could make it just that simple for being X distance from a unit, etc.
It isn't 3 lines of code cus of 'wait'. And 'wait' is still bad for me from wc3 times =)
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Use it or not. If you prefer larger blocks of code accomplishing the same thing, thus creating a larger download and less streamlined trigger, be my guest. Comparing WC3 to SC2 is like comparing Age of Empires to SC2. Sure, they look similar, but behind SC2 lies an entirely different engine, built to alleviate thousands of frustrations brought up in previous times. If your coding is truly based on an experience from WC3, I'm dumbfounded as to how you accomplish even a line in SC2...
Also, while you're nit picking, it would be more than three lines due to more than just "wait". Personally, I've never considered clicking a button coding (and thus wouldn't say a "while" or "wait" are coding, especially considering in this example there is literally zero coding required to obtain the integer used for the "wait" function call), but if it makes you feel better, call it what you'd like.