| 08-18-2003, 04:48 PM | #1 |
If you have a function (if/then/else) in jass, and you remove the else, can you assume it is the same as DoNothing () ? What is you leave the empty else condition there with nothing in it, is it considered the same aswell? Just asking to clear things up. I don't know if there is anything special about DoNothing () |
| 08-18-2003, 05:54 PM | #2 |
DoNothing looks like this in Blizzard.j: function DoNothing takes nothing returns nothing endfunction so it really doesn't do anything and it's the same as using else endif or leaving out the else. It's just needed as a function, as TriggerData.txt need a function to represent this for the GUI. |
