First someone needs to read the request, process it, send it to the decision makers. Then they decide whether to do it or not. If yes, a dev implements it, writes the test, sends it off to the lead dev for review and inclusion. Then someone writes it in the release notes, and someone else double-checks it. None of these are more than 30 minute tasks, but it adds up. And there's no tangible benefit - if you run the new function in a loop for a year, you will not shave off more overhead (compared to the above snippet) than it took to implement. Let them focus on stuff that's not trivial to work around.
On the other hand SetLocalEffect() and SetLocalItemproperty() could be much more interesting.
Comments
void SetLocalVector(object oObject, string sVarName, vector vValue) { SetLocalFloat(oObject, sVarName + ".x", vValue.x); SetLocalFloat(oObject, sVarName + ".y", vValue.y); SetLocalFloat(oObject, sVarName + ".z", vValue.z); } vector GetLocalVector(object oObject, string sVarName) { return Vector(GetLocalFloat(oObject, sVarName + ".x"), GetLocalFloat(oObject, sVarName + ".y"), GetLocalFloat(oObject, sVarName + ".z")); }
Just seems weird they were left out.
On the other hand SetLocalEffect() and SetLocalItemproperty() could be much more interesting.
But i get your point.