User Tools

Site Tools


prpl:setunitselectable

This is an old revision of the document!


<- 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)
prpl/setunitselectable.1509407683.txt.gz · Last modified: 2025/02/14 14:56 (external edit)