SetInteractionDisabled

From GECK

Revision as of 00:44, 29 March 2017 by Jazzisparis (Talk | contribs)

A function added by the JIP NVSE Plugin.

Description

Disables/enables interaction with the calling reference, or (optional) Base Form, by the player character.

When interaction is disabled, the player will not be able to "activate" the object, and no rollover-text will be shown when the object is pointed at with the crosshair.

Syntax

reference.SetInteractionDisabled disable:0/1 baseForm:ref

Example

objectRef.SetInteractionDisabled 1
SetInteractionDisabled 1 CraigBoone

Notes

  • This function does not affect scripted activation: objectRef.Activate player will still work normally.
  • When passing a base form, the effects will be applied on ANY reference of that base form.

See Also

Personal tools