GetJohnnyPatch

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns 1 if a specified optional patch is enabled in JohnnyGuitar.ini. Patch IDs are as follows:

1: bLoadEditorIDs
3: bFixFleeing
4: bFixItemStackCount
5: bFixNPCShootingAngle
6: bNoMuzzleFlashCooldown
7: bReset3rdPersonCamera

Syntax

[help]
(0, 1:int) GetJohnnyPatch patchID:int

Example

set iLoadIDs to GetJohnnyPatch 1 

Notes

  • bLoadEditorIDs is no longer optional as of version 4.35. Existing scripts checking this setting will now always return 1.

See Also