Make Unit Commandable can be used to prevent the player from issuing any orders to the unit. Trigger based orders still work. Set Unit State can be used toggle things like selectable, targetable, etc. There are also triggers for setting alliances or even changing unit owner if that better fits somehow.
Is there a way using triggers to after a player uses a button on the unit to completely neglect any further access to that unit?
@WesMan00: Go
Make Unit Commandable can be used to prevent the player from issuing any orders to the unit. Trigger based orders still work. Set Unit State can be used toggle things like selectable, targetable, etc. There are also triggers for setting alliances or even changing unit owner if that better fits somehow.