If you have ever wondered why certain powers refuse to cast when using custom code to invoke the god powers I have found out why.
Certain powers like vortex, gaia forest, and a couple of others will REFUSE to cast if there is a unit selected with a command like trUnitSelect. This includes selection from other sources such as change type. To fix simply call trUnitSelectClear(); command before performing the invoke.
This probably won't mean much to some people but for those using custom commands to invoke god powers it should mean something.
If you want to check out the theory yourself - insert a trigger and add the effect of "invoke god power". Select the gaia forest or vortex power and select a unit with the source unit and the god power will refuse to cast.
[This message has been edited by nottud (edited 12-31-2019 @ 04:03 PM).]