Background for Fallout 4
Member of the RefCollectionAlias script
voidfunctionBlockActivation(boolabBlocked=true, boolabHideActivateText=false)

Description

Wiki Description

Calls ObjectReference.BlockActivation(...) on all the references in the collection

Documentation Comment

kmk
block activation on all refs in collection


Caveats


Parameters

boolabBlocked=true

CK Wiki Description

Whether to block activation or not

  • Default:True

boolabHideActivateText=false

CK Wiki Description

Whether to hide the activate text on the refs

  • Default:False

Examples

; Block activation on all the locked doors
LockedDoorsCollection.BlockActivation()
; Block activation on all the puzzle parts, and hide their activate text
LockedDoorsCollection.BlockActivation(abHideActivateText = true)

Auto-Generated Example

bool myBool__abBlocked
bool myBool__abHideActivateText

myRefCollectionAlias__toCallFunctionOn.BlockActivation(myBool__abBlocked, myBool__abHideActivateText)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.