~~NOTOC~~ <=[[4rpl:start| Index]] * [[4rpl:commands:GetUnitSelected|Get]] * [[4rpl:commands:SetUnitSelected|Set]] ====== SetUnitSelected====== SetUnitSelected(<-unit <-isSelected) ===== Description ===== Sets the selected state of a unit. This call only affects the selection state of the specified unit. If the unit can not be selected, this call has no effect. ===== Examples ===== SetUnitSelected(self true) <=[[4rpl:start| Index]]