Mod:Creation Kit/SetNoFavorAllowed - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Sets or clears this object's ability to be not used by a teammate for a favor

Syntax
Function SetNoFavorAllowed(bool abNoFavor = true) native

Parameters

 * abNoFavor: Whether the object can not be used as a favor by teammate
 * Default: True

Return Value
None.

Examples
explosivesBox.SetNoFavorAllowed explosivesBox.SetNoFavorAllowed(false)
 * the teammate will not loot the container
 * teammates can look the container