The cfgFunctions-feature has become incredible useful and preinit- and postinit-attributes makes this even more powerful.
By adding more such attributes cfgFunctions can become even more powerful:
EventScripts added in A3 (initPlayerLocal.sqf, initServer.sqf and initPlayerServer.sqf) are extremly useful for all kind of MP scripting but unfortunatly different scripts from different authors using this eventscripts can't be mixed without the hassle of merging file by file. By adding this callbacks as attribute to cfgFunctions will eliminate this problem and enable mission, script and addon authors to fully utilize the power of functions that are called upon JIP/server initlization/etc by the engine itself.
We (Terox, me and some other guys from the scripting skypegroup) thought of the following attributes (most of this calls are already in the engine as event scripts):
initServer Called if the server is initialized
initHCLocal Called local on a HC if initialized
initHCServer Called on serverside if a HC is initialized (with HC netID as parameter)
initPlayer Triggered on client and server if a playerobject is ready (thanks Killzone_Kid)
initPlayerLocal Called local on a client of the playerobject is ready
initPlayerServer Called on server if a playerobject is initialized (params with playerobject and if JIP)
playerDisconnect Executed on all remaining clients and server if a player disconnects (Param: Old playerobject,Playername)
playerDisconnectServer Executed on server if player disconnects