Hi,
is there something like the waredit "do nothing" action into the galaxy editor?
I used to use it in if-then-else statements when in the else section i didn't have any action.
If you really want, for readability, you select the else and press Ctrl+/ and enter Do nothing() in the text area, but it's not required.
This is best, but it really isn't needed. Although if you really want a do nothing action, make an action definition named 'Do Nothing' and leave it blank. Maybe just make it send a debug message to the debugger, but as has already been said, there is no need for a do nothing at all.
Hi, is there something like the waredit "do nothing" action into the galaxy editor? I used to use it in if-then-else statements when in the else section i didn't have any action.
thanks,
Nite
do nothing is unless and only noobs use it ^^
just let it free
@HellGateSc2: Go
Well in an if then ....
leaving the then and else actions blank is the same as telling it to do nothing
If you really want, for readability, you select the else and press Ctrl+/ and enter Do nothing() in the text area, but it's not required.
This is best, but it really isn't needed. Although if you really want a do nothing action, make an action definition named 'Do Nothing' and leave it blank. Maybe just make it send a debug message to the debugger, but as has already been said, there is no need for a do nothing at all.
Well, i know it's not needed, it's just for make the code more readable. I'll go with the custom action.
Thanks everyone!
@Nite01: Go
Adding the "do nothing" does not make the code easier to read. Its sloppy. And IMO bad programming.