Difference between revisions of "IsJournalEnabled - InputEnableLayer"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
 
imported>Qazaaq
(added category)
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
'''Member of:''' [[InputEnableLayer Script]]
'''Member of:''' [[InputEnableLayer Script]]


Line 7: Line 5:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
bool Function IsJournalEnabled() native
bool Function IsJournalEnabled() Native
</source>
</source>


== Parameters ==
== Parameters ==
None.
None


== Return Value ==
== Return Value ==
Line 34: Line 32:
*[[IsMovementEnabled - InputEnableLayer]]
*[[IsMovementEnabled - InputEnableLayer]]
*[[IsSneakingEnabled - InputEnableLayer]]
*[[IsSneakingEnabled - InputEnableLayer]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:User Interface]]

Latest revision as of 20:47, 11 February 2018

Member of: InputEnableLayer Script

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

Syntax[edit | edit source]

bool Function IsJournalEnabled() Native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

If the journal menu controls are currently enabled on this layer or not.

Examples[edit | edit source]

; Is the layer allowing journal access?
if myLayer.IsJournalEnabled()
  Debug.Trace("Player can use the journal (if no one else is blocking)!")
endIf

See Also[edit | edit source]