InputEnableLayer Script

From Creation Kit
Jump to: navigation, search

Extends: ScriptObject Script

A single layer used for disabling/enabling player input.

Definition

ScriptName InputEnableLayer extends ScriptObject Native Hidden

Properties

None

Global Functions

  • InputEnableLayer Function Create()
    • Creates a new input enable layer

Member Functions

  • Function Delete()
    • Deletes this input enable layer and invalidates all script variables pointing at it.
  • Function DisablePlayerControls(bool abMovement, bool abFighting, bool abCamSwitch, bool abLooking, bool abSneaking, bool abMenu, bool abActivate, bool abJournalTabs, bool abVATS, bool abFavorites, bool abRunning)
    • Disables the specified player controls.
  • Function EnableActivate(bool abEnable)
    • Enables/disables activation.
  • Function EnableCamSwitch(bool abEnable)
    • Enables/disables camera switching (first to third person and vice-versa).
  • Function EnableFastTravel(bool abEnable)
    • Enables/disables fast travel.
  • Function EnableFavorites(bool abEnable)
    • Enables/disables favorites menu.
  • Function EnableFighting(bool abEnable)
    • Enables/disables the player's ability to fight.
  • Function EnableJournal(bool abEnable)
    • Enables/disables the journal.
  • Function EnableJumping(bool abEnable)
    • Enables/disables jumping.
  • Function EnableLooking(bool abEnable)
    • Enables/disables looking.
  • Function EnableMenu(bool abEnable)
    • Enables/disables menu access.
  • Function EnableMovement(bool abEnable)
    • Enables/disables player movement.
  • Function EnablePlayerControls(bool abMovement, bool abFighting, bool abCamSwitch, bool abLooking, bool abSneaking, bool abMenu, bool abActivate, bool abJournalTabs, bool abVATS, bool abFavorites, bool abRunning)
    • Enables the specified player controls.
  • Function EnableRunning(bool abEnable)
    • Enables/disables player running.
  • Function EnableSneaking(bool abEnable)
    • Enables/disables player sneaking.
  • Function EnableSprinting(bool abEnable)
    • Enables/disables player sprinting.
  • Function EnableVATS(bool abEnable)
    • Enables/disables vats.
  • Function EnableZKey(bool abEnable)
    • Enables/disables player z-key.
  • bool Function IsActivateEnabled()
    • Returns whether activation is enabled on this layer or not.
  • bool Function IsCamSwitchEnabled()
    • Returns whether camera switching is enabled on this layer or not.
  • bool Function IsFastTravelEnabled()
    • Returns whether fast travel is enabled on this layer or not.
  • bool Function IsFavoritesEnabled()
    • Returns whether the favorites menu is enabled on this layer or not.
  • bool Function IsFightingEnabled()
    • Returns whether player fighting is enabled on this layer or not.
  • bool Function IsJournalEnabled()
    • Returns whether journal access is enabled on this layer or not.
  • bool Function IsJumpingEnabled()
    • Returns whether jumping is enabled on this layer or not.
  • bool Function IsLookingEnabled()
    • Returns whether looking is enabled on this layer or not.
  • bool Function IsMenuEnabled()
    • Returns whether menu access is enabled on this layer or not.
  • bool Function IsMovementEnabled()
    • Returns whether movement is enabled on this layer or not.
  • bool Function IsRunningEnabled()
    • Returns whether running is enabled on this layer or not.
  • bool Function IsSneakingEnabled()
    • Returns whether sneaking is enabled on this layer or not.
  • bool Function IsSprintingEnabled()
    • Returns whether sprinting is enabled on this layer or not.
  • bool Function IsVATSEnabled()
    • Returns whether vats is enabled on this layer or not.
  • bool Function IsZKeyEnabled()
    • Returns whether z-key is enabled on this layer or not.
  • Function Reset()
    • Re-enables all controls that are disabled on this layer (resetting it)

Events

None