EnablePreSelect

Parameters
state boolean

unknown

ui boolean

If true, show semi-transparent green circle around the unit and the health bar etc.

If false, the green circle and the health bar is not shown. The cursor still blinks green/yellow/red like when you hover over a unit. The color depends on whether the unit is your own/ally/enemy.

comment

Sets the functionality when you hover over a unit with your cursor.

patch

1.18a

Source
common.j
return type
nothing
Source code
native EnablePreSelect              takes boolean state, boolean ui returns nothing