Ahh, okay. Thats what I did. I just thought you may have meant something else.
I have this:
It works perfectly, and shaved about 20+ lines from the script.
I'm pretty sure this will get approved. It may just take some time, as mods can be pretty busy.
I have this:
JASS:
// Unit target orders.
call GT_AddTargetOrderAction(function Move_actions,ORDER_MOVE)
call GT_AddTargetOrderAction(function Move_actions,ORDER_SMART)
call GT_AddTargetOrderAction(function Move_actions,ORDER_ATTACK)
// Point target orders.
call GT_AddPointOrderAction(function Move_actions,ORDER_MOVE)
call GT_AddPointOrderAction(function Move_actions,ORDER_SMART)
call GT_AddPointOrderAction(function Move_actions,ORDER_ATTACK)
// Learns ability for leveling.
call GT_AddLearnsAbilityAction(function Learn_conditions,LEARN_ID)
It works perfectly, and shaved about 20+ lines from the script.
I'm pretty sure this will get approved. It may just take some time, as mods can be pretty busy.