Skip to main content

Introduction

The RPG Action adds lockpicking to an Interactable RPG Object.

"RPG Lockpick Action"

Fields#

NameDescription
Can Lock PickCan the object be lockpicked
Lock Pick TextText to display when object can be lock picked
Audio Pool ChannelName of the broadcaster channel to use with the audio ppol
Success SoundSound to play on successful lock picking
Failure SoundSound to play on failed lock picking
On SuccessEvent raised when lock picking succeeds
On FailEvent raised when lock picking fails
On Lock State ChangedEvent raised when interaction should be locked

Properties#

NameDescription
callbackCallback to invoke when using this action
lockInteractionsGet/Set interaction lock state
parameterParameter (usually string display text) to use with this action
parentGets the parent Interactable RPG Object
preventActionsList of other action to prevent

Methods#

NameDescription
PickLockPick lock on the object
OnInteractionCalledThis method is called whenever the Interaction UI is displayed
OnInteractorChangedThis method is called whenever the Current Interactor changes