Hi, these are functions that are already included with Scriptdev2 for MaNGOS, so I am assuming they also exists for TrinityCore.
I think both of the functions would be huge conveniences when it comes to scripting creature RP events, adding the option to target a unit when you send a unit message would allow the designer/developer to take use of already supported commands such as $N - name, $R - race, $C - class, $G.
:SendUnitSay(msg, language) - Sends a "Say" message with the specified language (all languages: 0)
:SendUnitSay(msg, language[, target]) - Sends a "Say" message with the specified language (all languages: 0), target(optional must be a unit.
Another addition that would be great(in my opinion at least) is SetStandSate(standstate), it is probably already possible by using SetUint32Value(...) but that can be a very inconvenient workaround. Adding it also makes sense considering we have :GetUnitState(). I know this functionality exists for MaNGOS SD2 as well, example: