How can I disable one attack and enable another attack for a unit temporarily? Or alternatively force it to use the second attack over the first attack for a limited duration.
What do you mean by "attack"? as in an ability?
Player - Disable ability for player
If you want an unit to stop attacking
Add Orc Burrow to Unit
If you want an unit to switch to it's second attack type, then you're screwed, use methamorphosis
Use the Chaos ability, with 2 unit-types that are the same except for their attacks. I think that's the only way you can force the change; there are abilities like Root and War Club that change the attack used for a duration.
A better way is to set all units to default attack none.
Give it an orb which unlocks attack 2.
When you want the other attack give it another orb which enables attack 1.
Attack 1 will always override attack 2 unless target is untargetable.
I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
I'm on a page about incorrect corrections, and spent the better part of like two hours trying to get someone to understand that -5^2 = -25, not 25, and then that post had comments get reposted because that group is self sustaining, and that person was in turn trying to explain what I just explained to them. And I'm taking that as a victory