Skip to main content

Introduction

The RPG Action adds trapped and disarming to an Interactable RPG Object.

"RPG Trapped Action"

Fields#

NameDescription
Disarm TextText to display when object can be disarmed
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 disarming succeeds
On FailEvent raised when disarming fails
On TriggeredEvent raised when trap is triggered
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
DisarmDisarm trap on the object
TriggerTrigger the trap
OnInteractionCalledThis method is called whenever the Interaction UI is displayed
OnInteractorChangedThis method is called whenever the Current Interactor changes