Difference between revisions of "SetInteractionDisabledType"

From GECK

(Created page with "{{Function |origin = JIP |summary = Disables/enables interaction with ANY object of the specified type code, by the player character. When interaction is...")
 
Line 15: Line 15:
 
  |example = SetInteractionDisabledType 1 28
 
  |example = SetInteractionDisabledType 1 28
 
}}
 
}}
 +
==Notes==
 +
*This function does not affect scripted activation: '''objectRef.Activate player''' will still work normally.
 
==See Also==
 
==See Also==
 
*[[GetInteractionDisabledType]]
 
*[[GetInteractionDisabledType]]

Revision as of 00:42, 29 March 2017

A function added by the JIP NVSE Plugin.

Description

Disables/enables interaction with ANY object of the specified type code, 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

SetInteractionDisabledType disable:0/1 typeCode:int

Example

SetInteractionDisabledType 1 28

Notes

  • This function does not affect scripted activation: objectRef.Activate player will still work normally.

See Also

Personal tools