Background for Starfield

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.

voidfunctionEnableFarTravel(boolabEnable=true)Native

Enables/disables the player's ability to far travel in a spaceship

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.

voidfunctionEnableGravJump(boolabEnable=true)Native

Enables/disables the player's ability to grav jump in a spaceship

voidfunctionEnableTakeoff(boolabEnable=true)Native

Enables/disables the player's ability to take off in a spaceship

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.

voidfunctionEnableLocationDiscovery(boolabEnable=true)Native

Enables/disables the player's ability to discover new locations

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.

voidfunctionEnableHandscanner(boolabEnable=true)Native

Enables/disables the player's ability to use the handscanner

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.

voidfunctionEnableInventoryMenuAccess(boolaEnable=true)Native

Enable/Disable access to the inventory menu from the data menu

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.

boolfunctionIsFarTravelEnabled()Native

Returns whether far travel is enabled on this layer

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.

boolfunctionIsGravJumpEnabled()Native

Returns whether grav jump is enabled on this layer

boolfunctionIsTakeoffEnabled()Native

Returns whether ship takeoff is enabled on 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.

boolfunctionIsLocationDiscoveryEnabled()Native

Returns whether location discovery is enabled on this layer

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.

boolfunctionIsHandscannerEnabled()Native

Returns whether the handscanner is enabled on this layer

boolfunctionIsSneakingEnabled()Native

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

boolfunctionIsInventoryMenuAccessEnabled()Native

Returns whether access to the inventory menu is enabled on this layer

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.