Difference between revisions of "IsFavoritesControlsEnabled - Game"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>HEECFYAHOOCA
(Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script Checks to see if favorites controls are currently enabled or not. == Syntax == <source lang="papyru...")
 
imported>Qazaaq
(added category)
 
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
'''Member of:''' [[Game Script]]
'''Member of:''' [[Game Script]]


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


Line 19: Line 17:
<source lang="papyrus">
<source lang="papyrus">
; Can the player fight?
; Can the player fight?
if Game.IsFavoritesControlsEnabled()
If Game.IsFavoritesControlsEnabled()
  Debug.Trace("Player can use quickkeys!")
    Debug.Trace("Player can use quickkeys!")
endIf
EndIf
</source>
</source>


Line 34: Line 32:
*[[IsSneakingControlsEnabled - Game]]
*[[IsSneakingControlsEnabled - Game]]
*[[IsFightingControlsEnabled - Game]]
*[[IsFightingControlsEnabled - Game]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:User Interface]]

Latest revision as of 20:54, 11 February 2018

Member of: Game Script

Checks to see if favorites controls are currently enabled or not.

Syntax[edit | edit source]

bool Function IsFavoritesControlsEnabled() Native Global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

If the favorites controls are currently enabled or not.

Examples[edit | edit source]

; Can the player fight?
If Game.IsFavoritesControlsEnabled()
    Debug.Trace("Player can use quickkeys!")
EndIf

See Also[edit | edit source]