Background for Fallout 4

InputEnableLayer


Inheritance Tree

No indexed scripts extend this script.

Structs
Properties
Events
Functions
InputEnableLayerfunctionCreate()NativeGlobal

Creates a new input enable layer for a script to use to enable/disable player controls. Note that these are a limited resource, so you should not hold onto them longer then you need to have the player's controls disabled.

voidfunctionDelete()Native

Forcibly deletes this input enable layer immediately. Any script variables or properties looking at it will be invalidated, and of course any disables it may have held are cleared.

voidfunctionDisablePlayerControls(boolabMovement=true, boolabFighting=true, boolabCamSwitch=false, boolabLooking=false, boolabSneaking=false, boolabMenu=true, boolabActivate=true, boolabJournalTabs=false, boolabVATS=true, boolabFavorites=true, boolabRunning=false)Native

Selectively disables the player's controls on this layer.

voidfunctionEnableActivate(boolabEnable=true)Native

Enables or disables the player's ability to activate items on this layer.

voidfunctionEnableVATS(boolabEnable=true)Native

Enables or disables the player's ability to use VATS on this layer.

voidfunctionEnableCamSwitch(boolabEnable=true)Native

Enables or disables the player's ability to switch camera from first to third and back on this layer.

voidfunctionEnableFastTravel(boolabEnable=true)Native

Enables or disables the player's ability to fast travel on this layer.

voidfunctionEnableFavorites(boolabEnable=true)Native

Enables or disables the player's ability to open the Favorites menu on this layer.

voidfunctionEnableFighting(boolabEnable=true)Native

Enables or disables the player's ability to fight on this layer.

voidfunctionEnableJournal(boolabEnable=true)Native

Enables or disables the player's ability to use the journal on this layer.

voidfunctionEnableJumping(boolabEnable=true)Native

Enables or disables the player's ability to jump on this layer.

voidfunctionEnableLooking(boolabEnable=true)Native

Enables or disables the player's ability to look around on this layer.

voidfunctionEnableMenu(boolabEnable=true)Native

Enables or disables the player's ability to use the menu on this layer.

voidfunctionEnableMovement(boolabEnable=true)Native

Enables or disables the player's ability to move on this layer.

voidfunctionEnableRunning(boolabEnable=true)Native

Enables or disables the player's ability to run on this layer.

voidfunctionEnableSprinting(boolabEnable=true)Native

Enables or disables the player's ability to sprint on this layer.

voidfunctionEnableZKey(boolabEnable=true)Native

Enables or disables the player's ability to z-key on this layer.

voidfunctionEnablePlayerControls(boolabMovement=true, boolabFighting=true, boolabCamSwitch=true, boolabLooking=true, boolabSneaking=true, boolabMenu=true, boolabActivate=true, boolabJournalTabs=true, boolabVATS=true, boolabFavorites=true, boolabRunning=true)Native

Selectively enables the player's controls on this layer.

voidfunctionEnableSneaking(boolabEnable=true)Native

Enables or disables the player's ability to sneak on this layer.

boolfunctionIsActivateEnabled()Native

Checks to see if activation controls are currently enabled on this layer or not.

boolfunctionIsVATSEnabled()Native

Checks to see if VATS is currently enabled on this layer or not.

boolfunctionIsCamSwitchEnabled()Native

Checks to see if camera switch controls are currently enabled on this layer or not.

boolfunctionIsFastTravelEnabled()Native

Checks to see whether or not fast travel is allowed by this layer.

boolfunctionIsFavoritesEnabled()Native

Checks to see whether or not fast travel is allowed by this layer.

boolfunctionIsFightingEnabled()Native

Checks to see if fighting controls are currently enabled on this layer or not.

boolfunctionIsJournalEnabled()Native

Checks to see if journal menu controls are currently enabled on this layer or not.

boolfunctionIsJumpingEnabled()Native

Checks to see if jumping controls are currently enabled on this layer or not.

boolfunctionIsLookingEnabled()Native

Checks to see if looking controls are currently enabled on this layer or not.

boolfunctionIsMenuEnabled()Native

Checks to see if menu controls are currently enabled on this layer or not.

boolfunctionIsMovementEnabled()Native

Checks to see if movement controls are currently enabled on this layer or not.

boolfunctionIsRunningEnabled()Native

Checks to see if running controls are currently enabled on this layer or not.

boolfunctionIsSprintingEnabled()Native

Checks to see if sprinting controls are currently enabled on this layer or not.

boolfunctionIsZKeyEnabled()Native

Checks to see if z-key controls are currently enabled on this layer or not.

boolfunctionIsSneakingEnabled()Native

Checks to see if sneaking controls are currently enabled on this layer or not.

voidfunctionReset()Native

Clears any control disables that this layer may have (essentially resetting it back to its initial state without deleting it).

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.