IsActivationBlocked - ObjectReference

From Creation Kit
Jump to: navigation, 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

bool Function IsActivationBlocked()

Parameters

None.

Return Value

If this object is currently blocking normal activation processing.

Examples

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

See Also