FutureProg functions

setprovidingcover

Itemscomputer function, computer program, standard futureprog

setprovidingcover overload 1

Boolean setprovidingcover(Item item, Boolean state)
Available in
  • computer function
  • computer program
  • standard futureprog
Sets whether an item that can provide cover is actively providing cover. Returns false if the item is null, lacks the component, or was already in the requested state.
ParameterTypeDescription
item Item The item with a cover-providing component to update.
state Boolean Whether the item should actively provide cover after the call.