Skip to main content

Interfaces

BPI_Lockpickable

/All/Game/LockpickMinigame/Interfaces

BPI_Lockpickable

CanBeLockpicked

image.png

  • Function which handles the condition about the object being lockpick able. For e.g. if the object  is already lockpicked, this condition should return false.
  • It can be used with other logic such as the lock being stuck, so lockpicking can't be started.

OnLockpickStarted

image.png

  • Event to be called when the lockpicking starts.
  • E.g. can be called when the BP_Lockpick_Minigame & W_Lockpick_Minigame are spawned and can be used to hide the "Interact" prompt from behind the lockpick widget

OnLockpickSuccessful

image.png

  • Event to be called when the lockpick is successful
  • Called by the BP_Lockpick_Minigame

OnLockpickFailed

image.png

  • Event to be called when the lockpick fails for given reason
  • Called by the BP_Lockpick_Minigame when there are no more lockpicks available

OnLockpickClosed

image.png

  • Event to be called when the lockpick minigame is closed by player - without it being successful or failed
  • Called by the BP_Lockpick_Minigame on "CloseMinigame" event

GetLockConfig

image.png

  • Event that can be used to retrieve the current object lock configuration