IsActivationBlocked - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Checks to see if this object currently has its normal activation processing blocked. (Won't be picked up, opened, etc, but will still send OnActivate events)

Syntax[edit | edit source]

bool Function IsActivationBlocked()

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If this object is currently blocking normal activation processing.

Examples[edit | edit source]

; Is this door blocking normal activation?
if (MyDoor.IsActivationBlocked())
  Debug.Trace("The door is ignoring normal activation processing.")
endIf

See Also[edit | edit source]