User Tools

Site Tools


prpl:setunitselectable

<- 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.txt · Last modified: 2017/10/30 19:54 by GameGibu