SetInteractionDisabled

From GECK

Revision as of 20:22, 28 March 2017 by Jazzisparis (Talk | contribs) (Created page with "{{Function |origin = JIP |summary = Disables/enables interaction with the calling reference, or (optional) <i>Base Form</i>, by the player character. When interaction is dis...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 crosshair is pointed at it.

Syntax

reference.SetInteractionDisabled disable:0/1 baseForm:ref

Example

objectRef.SetInteractionDisabled 1
SetInteractionDisabled 1 CraigBoone

Notes

  • When passing a base form, the effects will be applied on ANY reference of that base form.

See Also

Personal tools