Skip to main content

Interfaces

/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

BPI_Lockpicker

AddLockpickable

image.png

  • Event that can be used to provide information to the lockpicker that there's a lockpick able object nearby
  • Can be used for interaction

RemoveLockpickable

image.png

  • Counterpart event for the "AddLockpickable" event

IsLockpickOngoing

image.png

  • Function with condition for ongoing lockpicking

OnLockpickFinished

image.png

  • Event that can be called when lockpicking ends (successful or failed)
  • Used by the BP_Lockpick_Minigame on "CloseMinigame" event and when lockpick is successful or failed

OnLockpickBreak

image.png

  • Event that can be called when the pick breaks
  • Used by the BP_Lockpick_Minigame