Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Notice the really fun function that they kick this off with:
JASS:
//***************************************************************************
//*
//* General Utility Functions
//* These functions exist purely to make the trigger dialogs cleaner and
//* more comprehensible.
//*
//***************************************************************************
//===========================================================================
function DoNothing takes nothing returns nothing
endfunction
They should've just kicked off the entire blizzard.j file with that statement.
Bribe, how on earth do you find searching a text file easier than simply typing the function you're looking for into the function list. Both would produce the exact same result, the function list being easier to navigate through because if you type "unit" it will give you an entire list of functions with the word "unit" in it, rather than specifying the exact name (if you don't know).
In terms of BJs, the only reason it is shunned upon is because calling functions is a slow process, and calling functions that call other functions (when the middle-man can be eliminated) produces unnecessary function calls which will slow your code down.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.