Difference between revisions of "SetInteractionDisabledType"

From GECK

Line 16: Line 16:
 
}}
 
}}
 
==Notes==
 
==Notes==
*This function does not affect scripted activation: '''objectRef.Activate player''' will still work normally.
+
*This function <u>does not</u> affect scripted activation: '''objectRef.Activate player''' will still work normally.
 
==See Also==
 
==See Also==
 
*[[GetInteractionDisabledType]]
 
*[[GetInteractionDisabledType]]

Revision as of 00:43, 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