Skip to main content
Corvus Connection

On Player Downed

Rpg
Trigger
Portent preview
Pro
entry.onRpgPlayerDownedFires when a viewer is downed, beaten below the HP they need to keep fighting. Binds the viewer, how many seconds until they recover, and what downed them.Triggers when a viewer is downed; binds twitchUserId / displayName / secondsUntilFightable / cause.
EngagementAlerts

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
twitchUserId
Data
System.String
multiplexed
displayName
Data
System.String
multiplexed
secondsUntilFightable
Data
System.Int32
multiplexed
cause
Data
System.String
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    twitchUserId
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    displayName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    secondsUntilFightable
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    cause
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Bindings

Name
Type
Description
twitchUserId
System.String
The downed viewer's Twitch user id.
displayName
System.String
The downed viewer's display name.
secondsUntilFightable
System.Int32
Seconds until the viewer can fight again.
cause
System.String
What downed the viewer: boss or encounter.
  • Name
    twitchUserId
    Type
    System.String
    Description
    The downed viewer's Twitch user id.
  • Name
    displayName
    Type
    System.String
    Description
    The downed viewer's display name.
  • Name
    secondsUntilFightable
    Type
    System.Int32
    Description
    Seconds until the viewer can fight again.
  • Name
    cause
    Type
    System.String
    Description
    What downed the viewer: boss or encounter.

Parameters

Name
Type
Required
Default
Choices
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
\u0022\u0022
None
maxConcurrency
System.Int32
no
0
None
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    \u0022\u0022
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnPlayerDowned] Handle(ctx, PlayerDownedContext e)

Used in