Try this code. It forces selection by selecting the unit that you want undeselectable whenever you select any unit.
Make Unit Un-Deselectable Events Unit Selection - Any Unit is Selected by player Any Player Local Variables Conditions Actions Unit Selection - Select (Hero Unit) for player 1
Trigger Libraries:
Leaver Resource Redistribution | Disables resource redistribution when player leaves
Developer's Mode | Triggers useful for map testing
IcyJay Regular ShmoeHI, i am working on a map on which each player only controls one unit.
i just spent an hour+ to figure out a way to make it that players cannot select anything else but their unit. i neither could figure out a way to do this in data editor, nor in the trigger editor (in which i guess this is propably easier to do).
as i just watched some tutorials and used the sf in the forum but failed to find sth of use for solving my problem.
i'd like to know if s.o. can come up with a way to do this?
thx