<- PRPL reference <- Units

SetUnitSelectable

ArgumentsResultNotation
UID, True/False none [ i1 b1 - ]

Description

Sets whether the unit with UID i1 can be selected. If b1 is 0, the unit will become un-selectable, else it will become/remain selectable. Use with caution!

Examples

# Make this core un-selectable
SetUnitSelectable(Self false)